-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #345 from bcgsc/release/v6.21.0
Release/v6.21.0
- Loading branch information
Showing
29 changed files
with
1,164 additions
and
336 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
22 changes: 22 additions & 0 deletions
22
app/components/IPRWYSIWYGEditor/IPRWYSIWYGEditor.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,22 @@ | ||
import React from 'react'; | ||
import { Story } from '@storybook/react/types-6-0'; | ||
import IPRWYSIWYGEditor, { IPRWYSIWYGEditorProps } from '.'; | ||
|
||
export default { | ||
title: 'components/IPRWYSIWYGEditor', | ||
component: IPRWYSIWYGEditor, | ||
}; | ||
|
||
const Template = (args) => <IPRWYSIWYGEditor {...args} />; | ||
|
||
export const Empty: Story<IPRWYSIWYGEditorProps> = Template.bind({}); | ||
Empty.args = { | ||
isOpen: true, | ||
text: null, | ||
}; | ||
|
||
export const WithDefaultText: Story<IPRWYSIWYGEditorProps> = Template.bind({}); | ||
WithDefaultText.args = { | ||
isOpen: true, | ||
text: 'Default loaded text', | ||
}; |
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
Oops, something went wrong.