diff --git a/packages/ripple-ui-core/src/components/tabs/RplTabs.stories.mdx b/packages/ripple-ui-core/src/components/tabs/RplTabs.stories.mdx
index 995768ff37..91fcb114c8 100644
--- a/packages/ripple-ui-core/src/components/tabs/RplTabs.stories.mdx
+++ b/packages/ripple-ui-core/src/components/tabs/RplTabs.stories.mdx
@@ -4,15 +4,20 @@ import {
Story,
ArgsTable
} from '@storybook/addon-docs'
+import { ref } from 'vue'
import RplTabs from './RplTabs.vue'
import { a11yStoryCheck } from './../../../stories/interactions.js'
export const SingleTemplate = (args) => ({
components: { RplTabs },
setup() {
- return { args }
+ const activeTab = ref('default')
+
+ const handleTabChange = ({ key }) => activeTab.value = key
+
+ return { args, activeTab, handleTabChange }
},
- template: '