Skip to content

Commit

Permalink
chore(react): address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaShakthi97 committed Mar 9, 2023
1 parent 0a5103e commit e6b871a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions packages/react/src/components/Tab/Tab.stories.mdx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand All @@ -11,7 +11,13 @@ export const meta = {

<Meta title={meta.title} component={meta.component} />

export const Template = args => <Tab {...args} />;
export const Template = (args) => {
return (
<Tabs>
<Tab {...args} />
</Tabs>
)
};

# Tab

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Tab/Tab.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e6b871a

Please sign in to comment.