design-react-kit
Version:
Componenti React per Bootstrap 5
1 lines • 1.27 kB
Source Map (JSON)
{"version":3,"sources":["../../src/Card/CardText.tsx"],"sourcesContent":["import React, { FC, HTMLAttributes, ElementType } from 'react';\nimport { CardText as InnerCardText } from 'reactstrap';\nimport { CSSModule } from 'reactstrap/types/lib/utils';\n// Note: this is a wrapper class around a reactstrap component.\n// TODO: remove this class and restore the direct import when\n// https://github.com/storybookjs/storybook/issues/10536 gets resolved\n\nexport interface CardTextProps extends HTMLAttributes<HTMLElement> {\n /** Utilizzarlo in caso di utilizzo di componenti personalizzati */\n tag?: ElementType;\n /** Classi aggiuntive da usare per il componente CardText */\n className?: string;\n /** Oggetto contenente la nuova mappatura per le classi CSS. */\n cssModule?: CSSModule;\n testId?: string;\n}\n\nexport const CardText: FC<CardTextProps> = (props) => {\n return <InnerCardText {...props} data-testid={props.testId} />;\n};\n"],"mappings":"0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,cAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAuD,sBACvDC,EAA0C,sBAgB7BH,EAA+BI,GACnC,EAAAC,QAAA,cAAC,EAAAC,SAAA,CAAe,GAAGF,EAAO,cAAaA,EAAM,OAAQ","names":["CardText_exports","__export","CardText","__toCommonJS","import_react","import_reactstrap","props","React","InnerCardText"]}