Skip to content

Commit c43c179

Browse files
committed
fix gridform checkbox
1 parent 8ca1e0a commit c43c179

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/gamut/src/GridForm/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type BaseFormField<Value> = {
4141

4242
export type GridFormCheckboxField = BaseFormField<boolean> &
4343
CheckboxPaddingProps & {
44-
description: React.ReactNode;
44+
description: string;
4545
label?: React.ReactNode;
4646
multiline?: boolean;
4747
validation?: RegisterOptions;

packages/styleguide/src/lib/Organisms/ConnectedForm/ConnectedForm/ConnectedForm.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ const ConnectedFormPlayground: React.FC<ConnectedFormPlayground> = ({
165165
field={{
166166
component: ConnectedCheckbox,
167167
label: <div>check it ouuut</div>,
168+
'aria-label': 'aria label',
168169
}}
169170
{...connectedFormGroup}
170171
/>

0 commit comments

Comments
 (0)