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