diff --git a/src/components/Form/BooleanField/BooleanFieldRadio.tsx b/src/components/Form/BooleanField/BooleanFieldRadio.tsx index 0cfdd55..ac2479f 100644 --- a/src/components/Form/BooleanField/BooleanFieldRadio.tsx +++ b/src/components/Form/BooleanField/BooleanFieldRadio.tsx @@ -49,31 +49,25 @@ export const BooleanFieldRadio = ({ return ( - + + + + - - - diff --git a/src/components/Form/Form.stories.tsx b/src/components/Form/Form.stories.tsx index 14d40a9..9448dfe 100644 --- a/src/components/Form/Form.stories.tsx +++ b/src/components/Form/Form.stories.tsx @@ -59,12 +59,14 @@ type SimpleExampleFormSchemaType = typeof $SimpleExampleFormData; const booleanFields: FormFields> = { booleanRadio: { + description: 'This is a boolean radio field', disabled: DISABLED, kind: 'boolean', label: 'Radio', variant: 'radio' }, booleanCheck: { + description: 'This is a boolean check field', disabled: DISABLED, kind: 'boolean', label: 'Checkbox', diff --git a/src/providers/CoreProvider/DestructiveActionDialog.tsx b/src/providers/CoreProvider/DestructiveActionDialog.tsx index dd49106..4487baf 100644 --- a/src/providers/CoreProvider/DestructiveActionDialog.tsx +++ b/src/providers/CoreProvider/DestructiveActionDialog.tsx @@ -69,7 +69,7 @@ export const DestructiveActionDialog = () => { return ( - event.preventDefault()}> + event.preventDefault()}> {display.title} {display.description}