Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export default {
children: <TabsContent />,
defaultValue: 'mjs',
tabs: [
{ key: 'mjs', label: 'MJS' },
{ key: 'cjs', label: 'CJS' },
{ key: 'mjs', label: 'Example', secondaryLabel: 'MJS' },
{ key: 'cjs', label: 'Example', secondaryLabel: 'CJS' },
Comment thread
avivkeller marked this conversation as resolved.
Outdated
Comment thread
naveenkarmegam marked this conversation as resolved.
Outdated
],
},
} as Meta;
13 changes: 11 additions & 2 deletions packages/ui-components/src/Common/Tabs/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,15 @@
dark:text-neutral-200;

.tabSecondaryLabel {
@apply pl-1
Comment thread
naveenkarmegam marked this conversation as resolved.
@apply ml-1
rounded
border
border-neutral-500
Comment thread
naveenkarmegam marked this conversation as resolved.
Outdated
px-1
py-0.5
text-xs
text-neutral-500
Comment thread
naveenkarmegam marked this conversation as resolved.
dark:border-neutral-800
dark:text-neutral-800;
}

Expand All @@ -35,7 +42,9 @@
dark:text-green-400;

.tabSecondaryLabel {
@apply text-green-800
@apply border-green-800
text-green-800
dark:border-green-600
dark:text-green-600;
}
}
Expand Down
Loading