Skip to content

Commit

Permalink
fix: alert close icon focus
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank-96 committed Mar 30, 2022
1 parent 4b2b6a8 commit acad5b2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function Example() {
</HStack>
<IconButton
variant="unstyled"
_focus={{ borderWidth: 0 }}
icon={<CloseIcon size="3" color="coolGray.600" />}
onPress={() => setShow(false)}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const Example = () => {
</HStack>
<IconButton
variant="unstyled"
_focus={{ borderWidth: 0 }}
icon={<CloseIcon size="3" color="coolGray.600" />}
/>
</HStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export function Example() {
</HStack>
<IconButton
variant="unstyled"
_focus={{ borderWidth: 0 }}
icon={<CloseIcon size="3" color="coolGray.600" />}
/>
</HStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function Example() {
</HStack>
<IconButton
variant="unstyled"
_focus={{ borderWidth: 0 }}
icon={<CloseIcon size="3" color="coolGray.600" />}
/>
</HStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export function Example() {
</HStack>
<IconButton
variant="unstyled"
_focus={{ borderWidth: 0 }}
icon={<CloseIcon size="3" color="coolGray.600" />}
/>
</HStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function Example() {
</HStack>
<IconButton
variant="unstyled"
_focus={{ borderWidth: 0 }}
icon={<CloseIcon size="3" color="coolGray.600" />}
/>
</HStack>
Expand Down

0 comments on commit acad5b2

Please sign in to comment.