@metamask/design-system-react-native
Version:
1 lines • 651 B
Source Map (JSON)
{"version":3,"file":"Button.types.mjs","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonVariant } from '../../types';\n\nimport type { ButtonPrimaryProps } from './variants/ButtonPrimary';\nimport type { ButtonSecondaryProps } from './variants/ButtonSecondary';\nimport type { ButtonTertiaryProps } from './variants/ButtonTertiary';\n\n/**\n * Button component props.\n */\nexport type ButtonProps = (\n | ButtonTertiaryProps\n | ButtonPrimaryProps\n | ButtonSecondaryProps\n) & {\n /**\n * Variant of Button.\n */\n variant?: ButtonVariant;\n};\n"]}