21 lines
2.6 KiB
JavaScript
21 lines
2.6 KiB
JavaScript
import{M as c}from"./chunk-PCJTTTQV-8ea8b36c.js";import{p as a,j as s}from"./jsx-runtime-539b76a3.js";import{u as i}from"./index-297ebefe.js";import"./iframe-647e33a7.js";import"../sb-preview/runtime.js";import"./extends-b40c5bac.js";import"./_commonjsHelpers-725317a4.js";import"./index-d475d2ea.js";import"./index-d37d4223.js";import"./index-1a79a776.js";import"./index-356e4a49.js";function p(t={}){const{wrapper:n}=Object.assign({},i(),t.components);return n?s.jsx(n,{...t,children:s.jsx(o,{})}):o();function o(){const e=Object.assign({p:"p",img:"img",h1:"h1",h2:"h2",ol:"ol",li:"li",pre:"pre",code:"code",a:"a"},i(),t.components);return s.jsxs(s.Fragment,{children:[s.jsx(c,{title:"Intro",parameters:{...a}}),`
|
|
`,s.jsx(e.p,{children:s.jsx(e.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),`
|
|
`,s.jsx(e.h1,{id:"reuters-graphicsgraphics-components",children:"@reuters-graphics/graphics-components"}),`
|
|
`,s.jsxs("p",{children:[s.jsx("a",{href:"https://www.npmjs.com/package/@reuters-graphics/graphics-components",children:s.jsx("img",{src:"https://badge.fury.io/js/@reuters-graphics%2Fgraphics-components.svg",alt:"npm version",style:{display:"inline-block",margin:"0 5px 0 0"}})}),s.jsx("a",{href:"https://github.com/reuters-graphics/graphics-components",children:s.jsx("img",{src:"https://badgen.net/badge/icon/GitHub?icon=github&label",alt:"GitHub",style:{display:"inline-block",margin:"0 5px 0 0"}})})]}),`
|
|
`,s.jsx(e.p,{children:"Svelte components, SCSS and more you can use in graphics projects."}),`
|
|
`,s.jsx(e.h2,{id:"getting-started",children:"Getting started"}),`
|
|
`,s.jsxs(e.ol,{children:[`
|
|
`,s.jsx(e.li,{children:"Install"}),`
|
|
`]}),`
|
|
`,s.jsx(e.pre,{children:s.jsx(e.code,{className:"language-bash",children:`yarn add @reuters-graphics/graphics-components
|
|
`})}),`
|
|
`,s.jsxs(e.ol,{start:"2",children:[`
|
|
`,s.jsxs(e.li,{children:["Checkout the ",s.jsx(e.a,{href:"?path=/docs/guides-using-these-docs--page",children:"guides"}),", if you haven't, or dive straight into the docs to start using components."]}),`
|
|
`]}),`
|
|
`,s.jsx(e.pre,{children:s.jsx(e.code,{className:"language-html",children:`<script>
|
|
import { BodyText } from '@reuters-graphics/graphics-components';
|
|
<\/script>
|
|
|
|
<BodyText text="{'Hello world!'}" />
|
|
`})})]})}}const h=()=>{throw new Error("Docs-only story")};h.parameters={docsOnly:!0};const r={title:"Intro",parameters:{...a},tags:["stories-mdx"],includeStories:["__page"]};r.parameters=r.parameters||{};r.parameters.docs={...r.parameters.docs||{},page:p};const v=["__page"];export{v as __namedExportsOrder,h as __page,r as default};
|
|
//# sourceMappingURL=intro.stories-83508857.js.map
|