UNPKG

@metamask/design-system-react-native

Version:
1 lines 837 B
{"version":3,"file":"TextButton.constants.cjs","sourceRoot":"","sources":["../../../src/components/TextButton/TextButton.constants.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAC7C,4CAAsC;AAEzB,QAAA,+BAA+B,GAGxC;IACF,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,kBAAW,CAAC,MAAM;IAC3C,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,kBAAW,CAAC,MAAM;IAC3C,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,kBAAW,CAAC,MAAM;IAC3C,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,kBAAW,CAAC,MAAM;CAC5C,CAAC","sourcesContent":["import { TextButtonSize } from '../../types';\nimport { TextVariant } from '../Text';\n\nexport const MAP_TEXTBUTTON_SIZE_TEXTVARIANT: Record<\n TextButtonSize,\n TextVariant\n> = {\n [TextButtonSize.BodyXs]: TextVariant.BodyXs,\n [TextButtonSize.BodySm]: TextVariant.BodySm,\n [TextButtonSize.BodyMd]: TextVariant.BodyMd,\n [TextButtonSize.BodyLg]: TextVariant.BodyLg,\n};\n"]}