12 lines
2.1 KiB
JavaScript
12 lines
2.1 KiB
JavaScript
import{S as y,i as C,s as S,l as D,c as m,o as h,m as u,h as d,t as i,a as f,k as R,d as g}from"./index-C9aKRT5A.js";import{g as v,a as M}from"./spread-CgU5AtxT.js";import{p as x,w as T,M as b,T as A,S as j}from"./collect-stories-ceFdpR5E.js";import{R as G}from"./ReutersGraphicsLogo-BBr3phy9.js";const k=`Reuters Graphics' official logo.
|
|
|
|
> Generally, only used for internal tools. For public pages, use the [ReutersLogo](./?path=/docs/components-reuterslogo--default) component.
|
|
|
|
\`\`\`svelte
|
|
<script>
|
|
import { ReutersGraphicsLogo } from '@reuters-graphics/graphics-components';
|
|
<\/script>
|
|
|
|
<ReutersGraphicsLogo />
|
|
\`\`\`
|
|
`;function q(l){let s,r;const o=[l[0]];let p={};for(let t=0;t<o.length;t+=1)p=D(p,o[t]);return s=new G({props:p}),{c(){m(s.$$.fragment)},m(t,a){u(s,t,a),r=!0},p(t,a){const c=a&1?v(o,[M(t[0])]):{};s.$set(c)},i(t){r||(i(s.$$.fragment,t),r=!0)},o(t){f(s.$$.fragment,t),r=!1},d(t){g(s,t)}}}function E(l){let s,r,o,p,t,a;const c=[{title:"Components/ReutersGraphicsLogo"},{component:G},T(k)];let $={};for(let e=0;e<c.length;e+=1)$=D($,c[e]);return s=new b({props:$}),o=new A({props:{$$slots:{default:[q,({args:e})=>({0:e}),({args:e})=>e?1:0]},$$scope:{ctx:l}}}),t=new j({props:{name:"Default",args:{}}}),{c(){m(s.$$.fragment),r=h(),m(o.$$.fragment),p=h(),m(t.$$.fragment)},m(e,n){u(s,e,n),d(e,r,n),u(o,e,n),d(e,p,n),u(t,e,n),a=!0},p(e,[n]){const w={};s.$set(w);const _={};n&3&&(_.$$scope={dirty:n,ctx:e}),o.$set(_)},i(e){a||(i(s.$$.fragment,e),i(o.$$.fragment,e),i(t.$$.fragment,e),a=!0)},o(e){f(s.$$.fragment,e),f(o.$$.fragment,e),f(t.$$.fragment,e),a=!1},d(e){e&&(R(r),R(p)),g(s,e),g(o,e),g(t,e)}}}class F extends y{constructor(s){super(),C(this,s,null,E,S,{})}}const L=x(F,{meta:{title:"Components/ReutersGraphicsLogo"},stories:{"tpl:default":{name:"default",template:!0,source:"<ReutersGraphicsLogo {...args} />",hasArgs:!0},Default:{name:"Default",template:!1,source:"",hasArgs:!1}},allocatedIds:["default","Meta","Template","Story","componentDocs","ReutersGraphicsLogo","withComponentDocs"]}),H=L.meta,J=["Default"],K=L.stories.Default;export{K as Default,J as __namedExportsOrder,H as default};
|