@sikka/hawa
Version:
Modern UI Kit made with Tailwind
1 lines • 715 B
Source Map (JSON)
{"version":3,"sources":["../../elements/count/Count.tsx"],"sourcesContent":["import React, { FC } from \"react\";\n\ntype IconCountTypes = {\n /** The icon of the counter */\n icon: JSX.Element;\n /** The text next to the icon */\n count?: string;\n};\n\nexport const Count: FC<IconCountTypes> = (props) => {\n return (\n <div className=\"hawa-flex hawa-h-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-px-2\">\n <div>{props.icon}</div>\n <div className=\"hawa-text-sm\">{props.count}</div>\n </div>\n );\n};\n"],"mappings":";;;AAAA,OAAO,WAAmB;AASnB,IAAM,QAA4B,CAAC,UAAU;AAClD,SACE,oCAAC,SAAI,WAAU,+EACb,oCAAC,aAAK,MAAM,IAAK,GACjB,oCAAC,SAAI,WAAU,kBAAgB,MAAM,KAAM,CAC7C;AAEJ;","names":[]}