Skip to content

Commit

Permalink
add label to IconButton example (#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank99 authored Aug 30, 2023
1 parent 1f87932 commit 962ce09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/IconButton.main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { SvgAdd, SvgClose } from '@itwin/itwinui-icons-react';
export default () => {
return (
<Flex>
<IconButton>
<IconButton label='Add'>
<SvgAdd />
</IconButton>
<IconButton styleType='borderless'>
<IconButton styleType='borderless' label='Close'>
<SvgClose />
</IconButton>
</Flex>
Expand Down

0 comments on commit 962ce09

Please sign in to comment.