Skip to content

Commit

Permalink
docs(Tabs): return text node in custom label example (#6403)
Browse files Browse the repository at this point in the history
Co-authored-by: TJ Egan <[email protected]>
  • Loading branch information
emyarod and tw15egan authored Jul 8, 2020
1 parent b0916b4 commit c67e902
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react/src/components/Tabs/Tabs-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ const props = {
}),
};

const CustomLabel = ({ text }) => {
text;
};
const CustomLabel = ({ text }) => text;

const CodeSnippetExample = () => (
<CodeSnippet type="multi">
Expand Down

0 comments on commit c67e902

Please sign in to comment.