+ "result": {"data":{"site":{"siteMetadata":{"title":"CoreUI for React.js"}},"mdx":{"id":"6d451f34-7255-5ab5-a68d-720ea88db1bb","body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n \"title\": \"React Callout Component\",\n \"name\": \"Callout\",\n \"description\": \"React callout component provides presentation of content in a visually distinct manner. Includes a heading, icon and typically text-based content.\",\n \"menu\": \"Components\",\n \"route\": \"/components/callout\"\n};\n\nvar makeShortcode = function makeShortcode(name) {\n return function MDXDefaultShortcode(props) {\n console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n return mdx(\"div\", props);\n };\n};\n\nvar Example = makeShortcode(\"Example\");\nvar layoutProps = {\n _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n var components = _ref.components,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return mdx(MDXLayout, _extends({}, layoutProps, props, {\n components: components,\n mdxType: \"MDXLayout\"\n }), mdx(\"h2\", {\n \"id\": \"examples\",\n \"style\": {\n \"position\": \"relative\"\n }\n }, mdx(\"a\", {\n parentName: \"h2\",\n \"href\": \"#examples\",\n \"aria-label\": \"examples permalink\",\n \"className\": \"anchor before\"\n }, mdx(\"svg\", {\n parentName: \"a\",\n \"aria-hidden\": \"true\",\n \"focusable\": \"false\",\n \"height\": \"16\",\n \"version\": \"1.1\",\n \"viewBox\": \"0 0 16 16\",\n \"width\": \"16\"\n }, mdx(\"path\", {\n parentName: \"svg\",\n \"fillRule\": \"evenodd\",\n \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n }))), \"Examples\"), mdx(\"p\", null, \"Callout component is prepared for any length of text, as well as an optional elements like icons, headings, etc. For a styling, use one of the \", mdx(\"strong\", {\n parentName: \"p\"\n }, \"required\"), \" contextual props (e.g., \", mdx(\"inlineCode\", {\n parentName: \"p\"\n }, \"color=\\\"success\\\"\"), \").\"), mdx(Example, {\n mdxType: \"Example\"\n }, mdx(CCallout, {\n color: \"primary\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"secondary\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"success\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"danger\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"warning\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"info\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"light\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\"), mdx(CCallout, {\n color: \"dark\",\n mdxType: \"CCallout\"\n }, \"New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.\")), mdx(\"pre\", null, mdx(\"code\", {\n parentName: \"pre\",\n \"className\": \"language-jsx\"\n }, \"<CCallout color=\\\"primary\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"secondary\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"success\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"danger\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"warning\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"info\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"light\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n<CCallout color=\\\"dark\\\">\\n New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background,\\n terminology, guidelines, and code snippets.\\n</CCallout>\\n\")), mdx(CCallout, {\n color: \"info\",\n mdxType: \"CCallout\"\n }, mdx(\"h5\", null, \"Conveying meaning to assistive technologies\"), mdx(\"p\", null, \"Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies \\u2013 such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the `.visually-hidden` class.\")), mdx(\"h2\", {\n \"id\": \"api\",\n \"style\": {\n \"position\": \"relative\"\n }\n }, mdx(\"a\", {\n parentName: \"h2\",\n \"href\": \"#api\",\n \"aria-label\": \"api permalink\",\n \"className\": \"anchor before\"\n }, mdx(\"svg\", {\n parentName: \"a\",\n \"aria-hidden\": \"true\",\n \"focusable\": \"false\",\n \"height\": \"16\",\n \"version\": \"1.1\",\n \"viewBox\": \"0 0 16 16\",\n \"width\": \"16\"\n }, mdx(\"path\", {\n parentName: \"svg\",\n \"fillRule\": \"evenodd\",\n \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n }))), \"API\"), mdx(\"h3\", {\n \"id\": \"ccallout\",\n \"style\": {\n \"position\": \"relative\"\n }\n }, mdx(\"a\", {\n parentName: \"h3\",\n \"href\": \"#ccallout\",\n \"aria-label\": \"ccallout permalink\",\n \"className\": \"anchor before\"\n }, mdx(\"svg\", {\n parentName: \"a\",\n \"aria-hidden\": \"true\",\n \"focusable\": \"false\",\n \"height\": \"16\",\n \"version\": \"1.1\",\n \"viewBox\": \"0 0 16 16\",\n \"width\": \"16\"\n }, mdx(\"path\", {\n parentName: \"svg\",\n \"fillRule\": \"evenodd\",\n \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n }))), \"CCallout\"), mdx(\"div\", {\n \"className\": \"markdown\"\n }, mdx(\"table\", {\n parentName: \"div\"\n }, mdx(\"thead\", {\n parentName: \"table\"\n }, mdx(\"tr\", {\n parentName: \"thead\"\n }, mdx(\"th\", {\n parentName: \"tr\"\n }, \"Prop name\"), mdx(\"th\", {\n parentName: \"tr\"\n }, \"Description\"), mdx(\"th\", {\n parentName: \"tr\"\n }, \"Type\"))), mdx(\"tbody\", {\n parentName: \"table\"\n }, mdx(\"tr\", {\n parentName: \"tbody\"\n }, mdx(\"td\", {\n parentName: \"tr\"\n }, \"className\"), mdx(\"td\", {\n parentName: \"tr\"\n }, \"A string of all className you want applied to the base component. [docs]\"), mdx(\"td\", {\n parentName: \"tr\"\n }, \"string\")), mdx(\"tr\", {\n parentName: \"tbody\"\n }, mdx(\"td\", {\n parentName: \"tr\"\n }, \"color\"), mdx(\"td\", {\n parentName: \"tr\"\n }, \"Sets the color context of the component to one of CoreUI\\u2019s themed colors. [docs]\"), mdx(\"td\", {\n parentName: \"tr\"\n }, \"{'primary'\"))))));\n}\n;\nMDXContent.isMDXComponent = true;","frontmatter":{"title":"React Callout Component","description":"React callout component provides presentation of content in a visually distinct manner. Includes a heading, icon and typically text-based content."},"tableOfContents":{"items":[{"url":"#examples","title":"Examples"},{"url":"#api","title":"API","items":[{"url":"#ccallout","title":"CCallout"}]}]}}},"pageContext":{"id":"6d451f34-7255-5ab5-a68d-720ea88db1bb"}},
0 commit comments