Skip to content

Commit

Permalink
docs: document new props
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw committed Sep 22, 2023
1 parent a6fa0bd commit dc4301e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script>
export default {
name: 'FooterContent',
props: {
logoHref: { type: String, default: 'javascript:void(0);' },
logoTitle: { type: String, default: 'Telekom Logo' },
logoHideTitle: { type: Boolean, default: false }
}
};
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { Meta, ArgsTable, Story, Canvas } from '@storybook/addon-docs';
import TelekomFooter from './Footer.vue';
import TelekomFooterDataBackCompat from './TelekomFooterDataBackCompat.vue';
import { footerNavigation } from './fixtures';
import FooterContent from './FooterContent.vue';

<Meta
title="Components/Telekom Footer"
component={TelekomFooter}
subcomponents={{'Telekom Footer Content': FooterContent}}
argTypes={{
type: {
control: { type: 'select' },
Expand Down

0 comments on commit dc4301e

Please sign in to comment.