Adds new Checkbox and CheckboxField components (#37665)
This commit is contained in:
1 parent
a75790143c
commit
a7a33ef6bc
17 files changed
+344
-50
No files matched your search
@@ -16,7 +16,7 @@ import type {
|
||||
import { Button } from 'mastodon/components/button';
|
||||
import { Column } from 'mastodon/components/column';
|
||||
import { ColumnHeader } from 'mastodon/components/column_header';
|
||||
import { TextAreaField, ToggleField } from 'mastodon/components/form_fields';
|
||||
import { CheckboxField, TextAreaField } from 'mastodon/components/form_fields';
|
||||
import { TextInputField } from 'mastodon/components/form_fields/text_input_field';
|
||||
import { LoadingIndicator } from 'mastodon/components/loading_indicator';
|
||||
import {
|
||||
@@ -194,7 +194,7 @@ const CollectionSettings: React.FC<{
|
||||
</div>
|
||||
|
||||
<div className='fields-group'>
|
||||
<ToggleField
|
||||
<CheckboxField
|
||||
label={
|
||||
<FormattedMessage
|
||||
id='collections.mark_as_sensitive'
|
||||
|
||||
Reference in new issue
Block a user