Code Tabs
A tabs component that displays code for different languages.
Made by imskyleen
The InstallTabs component has been updated and is now called CodeTabs. It can now be used to make both install tabs and code tabs!
Installation
Usage
Examples
Install Tabs
Props
Prop | Type | Default |
---|---|---|
onCopy? | (content: string) => void | - |
copyButton? | boolean | true |
themes? | Record<string, string> | { light: 'github-light', dark: 'github-dark' } |
lang? | string | bash |
codes | Record<string, string> | - |