@centreon/react-components
Version:
react components used by centreon web frontend
19 lines (15 loc) • 535 B
JavaScript
/* eslint-disable react/jsx-filename-extension */
/* eslint-disable import/no-extraneous-dependencies */
import React from 'react';
import { storiesOf } from '@storybook/react';
import { SearchLive, SearchWithArrow } from '../src';
storiesOf('Search', module).add(
'Search - live',
() => <SearchLive label="name" />,
{ notes: 'A very simple component' },
);
storiesOf('Search', module).add(
'Search - with arrow',
() => <SearchWithArrow searchLiveCustom="search-live-custom" />,
{ notes: 'A very simple component' },
);