-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
a5ac201
commit b932582
Showing
5 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
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
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,28 @@ | ||
import Example from './OffcanvasExample'; | ||
// eslint-disable-next-line import/extensions | ||
import OffcanvasExample from '!!raw-loader!./OffcanvasExample'; | ||
|
||
Example.parameters = { | ||
docs: { | ||
source: { | ||
code: OffcanvasExample, | ||
language: 'jsx', | ||
type: 'auto', | ||
}, | ||
}, | ||
}; | ||
|
||
Example.args = { | ||
backdrop: true, | ||
fade: true, | ||
scrollable: false, | ||
}; | ||
|
||
Example.argTypes = { | ||
direction: { | ||
control: { type: 'select' }, | ||
options: ['top', 'start', 'end', 'bottom'], | ||
}, | ||
}; | ||
|
||
export default Example; |
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
2 changes: 1 addition & 1 deletion
2
stories/examples/OffcanvasProps.js → stories/examples/Offcanvas/OffcanvasProps.js
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