summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/icons/feed.stories.tsx
blob: e3587a8551ce59aa89a8850231df53d036c04a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { ComponentMeta, ComponentStory } from '@storybook/react';
import FeedIcon from './feed';

/**
 * Feed icon - Storybook Meta
 */
export default {
  title: 'Atoms/Illustrations/Icons',
  component: FeedIcon,
  argTypes: {
    className: {
      control: {
        type: 'text',
      },
      description: 'Set additional classnames.',
      table: {
        category: 'Styles',
      },
      type: {
        name: 'string',
        required: false,
      },
    },
  },
} as ComponentMeta<typeof FeedIcon>;

const Template: ComponentStory<typeof FeedIcon> = (args) => (
  <FeedIcon {...args} />
);

/**
 * Icons Stories - Feed
 */
export const Feed = Template.bind({});
span> lookbehind: !0, }, 'interpolated-string': null, extractor: { pattern: /\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i, greedy: !0, inside: { regex: { pattern: /(^re)\|[\s\S]+/, lookbehind: !0 }, function: /^\w+/, value: /\|[\s\S]+/, }, }, identifier: { pattern: /`[^`]*`/, greedy: !0 }, function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/, keyword: /\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/, boolean: /\b(?:false|null|true)\b/i, number: /\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/, 'pattern-punctuation': { pattern: /%(?=[({[])/, alias: 'punctuation' }, operator: /[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/, punctuation: /::|[;\[\]()\{\},.:]/, }; var n = '#\\{(?:[^"{}]|\\{[^{}]*\\}|"(?:[^"\\\\\r\n]|\\\\(?:\r\n|[^]))*")*\\}'; (e.languages.tremor['interpolated-string'] = { pattern: RegExp( '(^|[^\\\\])(?:"""(?:[^"\\\\#]|\\\\[^]|"(?!"")|#(?!\\{)|' + n + ')*"""|"(?:[^"\\\\\r\n#]|\\\\(?:\r\n|[^])|#(?!\\{)|' + n + ')*")' ), lookbehind: !0, greedy: !0, inside: { interpolation: { pattern: RegExp(n), inside: { punctuation: /^#\{|\}$/, expression: { pattern: /[\s\S]+/, inside: e.languages.tremor }, }, }, string: /[\s\S]+/, }, }), (e.languages.troy = e.languages.tremor), (e.languages.trickle = e.languages.tremor); })(Prism);