hypnagaga/packages/graphics-components/docs/assets/ToolsHeader-k3s8yOX0.js

15 lines
1.6 KiB
JavaScript

import{j as o}from"./index-bIIEL2MP.js";import{useMDXComponents as n}from"./index-CO-0pc0F.js";import{M as s,C as i}from"./index-Z-6k0Xrj.js";import{T as p,D as c}from"./ToolsHeader.stories-CRd8798Z.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./iframe-CzjIX-qr.js";import"./index-aQYXhgXp.js";import"./index-DrFu-skq.js";import"./props-b4vEeO_8.js";import"./runtime-C3rQLW--.js";import"./lifecycle-F2p_Qkk3.js";import"./create-runtime-stories-7AWWVphH.js";import"./snippet-C5kbqVpq.js";import"./svelte-component-C8Ginrj8.js";import"./get-C3XmtPLd.js";import"./attributes-Cg6aLqN3.js";import"./style-DvJ3IcV1.js";import"./ReutersGraphicsLogo-DRqDkotX.js";function r(t){const e={blockquote:"blockquote",code:"code",h1:"h1",p:"p",pre:"pre",strong:"strong",...n(),...t.components};return o.jsxs(o.Fragment,{children:[o.jsx(s,{of:p}),`
`,o.jsx(e.h1,{id:"toolsheader",children:"ToolsHeader"}),`
`,o.jsxs(e.p,{children:["The ",o.jsx(e.code,{children:"ToolsHeader"})," component adds a header with the Reuters Graphics logo for internal tooling sites."]}),`
`,o.jsxs(e.blockquote,{children:[`
`,o.jsxs(e.p,{children:[o.jsx(e.strong,{children:"Note:"})," Don't use this component for public pages."]}),`
`]}),`
`,o.jsx(e.pre,{children:o.jsx(e.code,{className:"language-svelte",children:`<script>
import { ToolsHeader } from '@reuters-graphics/graphics-components';
<\/script>
<ToolsHeader>
<!-- Anything else goes to the right of the logo -->
</ToolsHeader>
`})}),`
`,o.jsx(i,{of:c})]})}function X(t={}){const{wrapper:e}={...n(),...t.components};return e?o.jsx(e,{...t,children:o.jsx(r,{...t})}):r(t)}export{X as default};