From a3e69dfa950626012a2c07da0716a9fb7de622dd Mon Sep 17 00:00:00 2001 From: Tyler Ford Date: Wed, 18 Dec 2024 11:55:31 -0700 Subject: [PATCH] feat(code connect): wrapping up input mappings --- .../src/localized-money-input.figma.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/components/inputs/localized-money-input/src/localized-money-input.figma.tsx diff --git a/packages/components/inputs/localized-money-input/src/localized-money-input.figma.tsx b/packages/components/inputs/localized-money-input/src/localized-money-input.figma.tsx new file mode 100644 index 0000000000..6d81d1c528 --- /dev/null +++ b/packages/components/inputs/localized-money-input/src/localized-money-input.figma.tsx @@ -0,0 +1,17 @@ +// @ts-nocheck +import { LocalizedMoneyInput } from '@commercetools-frontend/ui-kit'; +import figma from '@figma/code-connect'; + +figma.connect( + LocalizedMoneyInput, + 'https://www.figma.com/design/UoqmtHSHwxvEZRcbsM4A3Z/CT-product-design-system?node-id=463%3A27181', + { + props: { + // TODO: Map props here + children: figma.children('*'), + }, + example: (props) => ( + {props.children} + ), + } +);