From e6b871a1e3fcc10757c7fee869f972f0805c2847 Mon Sep 17 00:00:00 2001 From: JayaShakthi97 Date: Thu, 9 Mar 2023 10:07:23 +0530 Subject: [PATCH] chore(react): address pr comments --- packages/react/src/components/Tab/Tab.stories.mdx | 10 ++++++++-- packages/react/src/components/Tab/Tab.tsx | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/react/src/components/Tab/Tab.stories.mdx b/packages/react/src/components/Tab/Tab.stories.mdx index 58f23878..f7c751b0 100644 --- a/packages/react/src/components/Tab/Tab.stories.mdx +++ b/packages/react/src/components/Tab/Tab.stories.mdx @@ -1,7 +1,7 @@ import {ArgsTable, Source, Story, Canvas, Meta} from '@storybook/addon-docs'; +import Tabs from '@mui/material/Tabs'; import dedent from 'ts-dedent'; import StoryConfig from '../../../.storybook/story-config.ts'; -import {withDesign} from '../../../.storybook/utils.ts'; import Tab from './Tab.tsx'; export const meta = { @@ -11,7 +11,13 @@ export const meta = { -export const Template = args => ; +export const Template = (args) => { + return ( + + + + ) +}; # Tab diff --git a/packages/react/src/components/Tab/Tab.tsx b/packages/react/src/components/Tab/Tab.tsx index de6090fb..33d5cea9 100644 --- a/packages/react/src/components/Tab/Tab.tsx +++ b/packages/react/src/components/Tab/Tab.tsx @@ -1,5 +1,5 @@ /** - * Copyright (c) 2022, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. + * Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. * * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except