-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create story for ComponentCommits
- Loading branch information
1 parent
2a2ad8c
commit 4e9e3fa
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
ui/blocks/src/ComponentCommits/ComponentCommits.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import { Document, Example } from '@component-controls/core'; | ||
import { ComponentCommits } from './ComponentCommits'; | ||
import { makeDecorators } from '../test/MockContext'; | ||
import { store } from '../test/storyStore'; | ||
|
||
export default { | ||
title: 'Blocks/ComponentCommits', | ||
component: ComponentCommits, | ||
category: ' Component', | ||
} as Document; | ||
|
||
export const overview: Example = () => ( | ||
<ComponentCommits | ||
id="." | ||
name="Commits" | ||
storeComponent={store.components['Control']} | ||
/> | ||
); | ||
overview.decorators = makeDecorators(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters