Skip to content

Commit 817ba61

Browse files
committed
docs(loadingindicator): simplify LoadingIndicator stories
1 parent ee7dc9c commit 817ba61

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/LoadingIndicator/LoadingIndicator.stories.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ const Wrapper = styled.div`
1111
`;
1212
storiesOf('LoadingIndicator', module)
1313
.addDecorator(story => <Wrapper>{story()}</Wrapper>)
14-
.add('default', () => <LoadingIndicator />)
15-
.add('not loading', () => <LoadingIndicator isLoading={false} />);
14+
.add('default', () => (
15+
<>
16+
<p style={{ textAlign: 'center', marginBottom: '0.5rem' }}>Loading...</p>
17+
<LoadingIndicator isLoading />
18+
</>
19+
));

0 commit comments

Comments
 (0)