diff --git a/now.json b/now.json index a01b806..2b86972 100644 --- a/now.json +++ b/now.json @@ -1,6 +1,9 @@ { + "alias": [ + "components.status-board.io" + ], + "name": "components.status-board.io", "version": 2, - "name": "components", "builds": [ { "src": "package.json", diff --git a/stories/index.stories.tsx b/stories/index.stories.tsx index 8d56fd7..a1c8c85 100644 --- a/stories/index.stories.tsx +++ b/stories/index.stories.tsx @@ -6,23 +6,17 @@ import { defaultTheme } from '@status-board/theme-manager'; import { TrapApiError, - Text, ExternalLink, -} from '../src/'; +} from '../src'; storiesOf('Welcome', module) .add('TrapApiError', () => ( - Hello - )) - .add('Text', () => ( - Hello + Hello )) - .add('ExternalLink', () => Hello); + .add('ExternalLink', () => ( + + Hello + + )); diff --git a/stories/widget.stories.tsx b/stories/widget.stories.tsx index c1d60c5..2b59735 100644 --- a/stories/widget.stories.tsx +++ b/stories/widget.stories.tsx @@ -19,16 +19,14 @@ import { WidgetStatusBadge, WidgetCounter, GitlabIcon, -} from '../src/'; +} from '../src'; const props = {}; storiesOf('Widget', module) .add('Widget', () => ( - Hello + Hello )) .add('WidgetHeader', () => ( @@ -50,7 +48,9 @@ storiesOf('Widget', module) disablePadding={false} isHeaderless={false} style={{}} - >Hello + > + Hello + )) .add('WidgetLoader', () => ( @@ -65,7 +65,7 @@ storiesOf('Widget', module) {}} + onClick={() => console.log('Click')} post="Post" pre="Pre" style={{}} @@ -101,10 +101,7 @@ storiesOf('Widget', module) )) .add('WidgetAvatar', () => ( - Hello + Hello )) .add('WidgetStatusChip', () => ( @@ -130,12 +127,12 @@ storiesOf('Widget', module) .add('WidgetCounter', () => ( ));