Skip to content

Commit

Permalink
docs: add new props to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Nov 24, 2023
1 parent 68532d7 commit 9c23883
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import {
Description,
} from '@storybook/addon-docs';
import ScaleTabNav from './ScaleTabNav.vue';
import TabPanel from './TabPanel.vue';

<Meta
title="Components/Tab Navigation"
component={ScaleTabNav}
subcomponents={{ 'Scale Tab Panel': TabPanel }}
argTypes={{
styles: {
table: {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<script>
export default {
name: 'Tab Panel',
props: {
styles: { type: String },
tabbable: { type: Boolean, default: 'true',
argTypes:{
table: {
type: { summary: 'string' },
},
description: `(optional) Injected styles`,
control: { type: null },
},
},
}
};
</script>

0 comments on commit 9c23883

Please sign in to comment.