Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mannycarrera4 authored Sep 12, 2023
1 parent 0a4eb15 commit 7afc277
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/react/banner/stories/examples/IconBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import {Tooltip} from '@workday/canvas-kit-react/tooltip';
import {styled} from '@workday/canvas-kit-react/common';

export const IconBanner = () => {
const StyledBanner = styled(Banner)({width: '4em'});

return (
<Tooltip title="Warning">
<StyledBanner>
<Banner width="4em">
<Banner.Icon />
</StyledBanner>
</Banner>
</Tooltip>
);
};

0 comments on commit 7afc277

Please sign in to comment.