UNPKG

1.78 kBSource Map (JSON)View Raw
1{"version":3,"file":"DocumentCardDetails.base.js","sourceRoot":"../src/","sources":["components/DocumentCard/DocumentCardDetails.base.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAQ7E,IAAM,aAAa,GAAG,kBAAkB,EAA8D,CAAC;AAEvG;;GAEG;AACH;IAA6C,2CAA+C;IAG1F,iCAAY,KAAgC;QAA5C,YACE,kBAAM,KAAK,CAAC,SAGb;QADC,sBAAsB,CAAC,KAAI,CAAC,CAAC;;IAC/B,CAAC;IAEM,wCAAM,GAAb;QACQ,IAAA,eAAmD,EAAjD,sBAAQ,EAAE,kBAAM,EAAE,gBAAK,EAAE,wBAAwB,CAAC;QAE1D,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC,MAAO,EAAE;YACxC,KAAK,EAAE,KAAM;YACb,SAAS,WAAA;SACV,CAAC,CAAC;QAEH,OAAO,6BAAK,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAG,QAAQ,CAAO,CAAC;IACjE,CAAC;IACH,8BAAC;AAAD,CAAC,AAnBD,CAA6C,KAAK,CAAC,SAAS,GAmB3D","sourcesContent":["import * as React from 'react';\nimport { classNamesFunction, initializeComponentRef } from '../../Utilities';\nimport {\n IDocumentCardDetailsProps,\n IDocumentCardDetailsStyleProps,\n IDocumentCardDetailsStyles,\n} from './DocumentCardDetails.types';\nimport { IProcessedStyleSet } from '../../Styling';\n\nconst getClassNames = classNamesFunction<IDocumentCardDetailsStyleProps, IDocumentCardDetailsStyles>();\n\n/**\n * {@docCategory DocumentCard}\n */\nexport class DocumentCardDetailsBase extends React.Component<IDocumentCardDetailsProps, any> {\n private _classNames: IProcessedStyleSet<IDocumentCardDetailsStyles>;\n\n constructor(props: IDocumentCardDetailsProps) {\n super(props);\n\n initializeComponentRef(this);\n }\n\n public render(): JSX.Element {\n const { children, styles, theme, className } = this.props;\n\n this._classNames = getClassNames(styles!, {\n theme: theme!,\n className,\n });\n\n return <div className={this._classNames.root}>{children}</div>;\n }\n}\n"]}
\No newline at end of file