hypnagaga/docs/assets/ReutersGraphicsLogo.stories-a16c6197.js
Prasanta Kumar Dutta 5e0df3456a build
2023-09-16 17:19:48 +05:30

13 lines
2.3 KiB
JavaScript

import{S as y,i as C,s as S,C as D,c as m,p as d,m as u,b as h,t as i,a as f,f as R,d as g}from"./index-2c1648fc.js";import{g as v,a as M}from"./spread-8a54911c.js";import{p as b,M as x,T as I,S as T}from"./collect-stories-640c7888.js";import{R as G}from"./ReutersGraphicsLogo-aeecca1a.js";import{w as A}from"./withParams-47e2ab71.js";const j=`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},A(j)];let $={};for(let e=0;e<c.length;e+=1)$=D($,c[e]);return s=new x({props:$}),o=new I({props:{$$slots:{default:[q,({args:e})=>({0:e}),({args:e})=>e?1:0]},$$scope:{ctx:l}}}),t=new T({props:{name:"Default",args:{}}}),{c(){m(s.$$.fragment),r=d(),m(o.$$.fragment),p=d(),m(t.$$.fragment)},m(e,n){u(s,e,n),h(e,r,n),u(o,e,n),h(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=b(F,{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,source:"",hasArgs:!1}},allocatedIds:["default","Meta","Template","Story","componentDocs","ReutersGraphicsLogo","withComponentDocs"]}),J=L.meta,K=["Default"],N=L.stories.Default;export{N as Default,K as __namedExportsOrder,J as default};
//# sourceMappingURL=ReutersGraphicsLogo.stories-a16c6197.js.map