Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sliding selector #16872

Closed
Closed
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
Prev Previous commit
chore: change icons in story
  • Loading branch information
lee-chase committed Jul 22, 2024
commit 77cb346ddcb884a4e457620b994a3c64b8e1dcb5
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 11,13 @@ import { WithLayer } from '../../../.storybook/templates/WithLayer';
import ContentSwitcher from './ContentSwitcher';
import { Switch, IconSwitch } from '../Switch';
import mdx from './ContentSwitcher.mdx';
import { TableOfContents, Workspace, ViewMode_2 } from '@carbon/icons-react';
import {
TableOfContents,
Workspace,
ViewMode_2,
Bee,
Add,
} from '@carbon/icons-react';

export default {
title: 'Components/ContentSwitcher',
Expand Down Expand Up @@ -92,10 98,10 @@ export const IconOnlySlide5 = (args) => (
<ViewMode_2 />
</IconSwitch>
<IconSwitch name="four" text="View Mode">
<ViewMode_2 />
<Bee />
</IconSwitch>
<IconSwitch name="five" text="View Mode">
<ViewMode_2 />
<Add />
</IconSwitch>
</ContentSwitcher>
);
Expand Down
Loading