You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
2.4 KiB
1 line
2.4 KiB
{"ast":null,"code":"import classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FormText = /*#__PURE__*/React.forwardRef(\n// Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\n(_ref, ref) => {\n let {\n bsPrefix,\n className,\n as: Component = 'small',\n muted,\n ...props\n } = _ref;\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-text');\n return /*#__PURE__*/_jsx(Component, {\n ...props,\n ref: ref,\n className: classNames(className, bsPrefix, muted && 'text-muted')\n });\n});\nFormText.displayName = 'FormText';\nexport default FormText;","map":{"version":3,"names":["classNames","React","useBootstrapPrefix","jsx","_jsx","FormText","forwardRef","ref","bsPrefix","className","as","Component","muted","props","displayName"],"sources":["C:/Cours/SAE/SAE-3.01/Scripted/Scripted/website/node_modules/react-bootstrap/esm/FormText.js"],"sourcesContent":["import classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FormText = /*#__PURE__*/React.forwardRef( // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\n({\n bsPrefix,\n className,\n as: Component = 'small',\n muted,\n ...props\n}, ref) => {\n bsPrefix = useBootstrapPrefix(bsPrefix, 'form-text');\n return /*#__PURE__*/_jsx(Component, { ...props,\n ref: ref,\n className: classNames(className, bsPrefix, muted && 'text-muted')\n });\n});\nFormText.displayName = 'FormText';\nexport default FormText;"],"mappings":"AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,kBAAkB,QAAQ,iBAAiB;AACpD,SAASC,GAAG,IAAIC,IAAI,QAAQ,mBAAmB;AAC/C,MAAMC,QAAQ,GAAG,aAAaJ,KAAK,CAACK,UAAU;AAAE;AAChD,OAMGC,GAAG,KAAK;EAAA,IANV;IACCC,QAAQ;IACRC,SAAS;IACTC,EAAE,EAAEC,SAAS,GAAG,OAAO;IACvBC,KAAK;IACL,GAAGC;EACL,CAAC;EACCL,QAAQ,GAAGN,kBAAkB,CAACM,QAAQ,EAAE,WAAW,CAAC;EACpD,OAAO,aAAaJ,IAAI,CAACO,SAAS,EAAE;IAAE,GAAGE,KAAK;IAC5CN,GAAG,EAAEA,GAAG;IACRE,SAAS,EAAET,UAAU,CAACS,SAAS,EAAED,QAAQ,EAAEI,KAAK,IAAI,YAAY;EAClE,CAAC,CAAC;AACJ,CAAC,CAAC;AACFP,QAAQ,CAACS,WAAW,GAAG,UAAU;AACjC,eAAeT,QAAQ"},"metadata":{},"sourceType":"module"} |