Skip to content

Commit

Permalink
feat: add temp label synthetic prop to CheckboxField (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilch committed Nov 12, 2021
1 parent 18741cb commit b386451
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/studio-ui-codegen-react/lib/primitive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ export const PrimitiveChildrenPropMapping: Partial<Record<Primitive, string>> =
// [Primitive.TableCell]: 'label',
[Primitive.Text]: 'label',
[Primitive.ToggleButton]: 'label',

// remove once label is added in Amplify UI
[Primitive.CheckboxField]: 'label',
};

export const PrimitiveTypeParameter: Partial<
Expand Down

0 comments on commit b386451

Please sign in to comment.