Skip to content

Commit

Permalink
Merge pull request #5029 from GeekyAnts/release/3.4.6-rc.1
Browse files Browse the repository at this point in the history
fix: pressable example and update snapshots
  • Loading branch information
rayan1810 authored May 20, 2022
2 parents 6ab8cc1 + 98729a7 commit d0392cc
Show file tree
Hide file tree
Showing 5 changed files with 8,779 additions and 5,713 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base';
export function Example() {
return (
<Box alignItems="center">
<Pressable
maxW="96"
borderWidth="1"
borderColor="coolGray.300"
shadow="3"
rounded="8"
p="5"
>
<Pressable maxW="96">
{({ isHovered, isFocused, isPressed }) => {
return (
<Box
Expand All @@ -29,8 +22,11 @@ export function Example() {
},
],
}}
p="3"
p="5"
rounded="8"
shadow={3}
borderWidth="1"
borderColor="coolGray.300"
>
<HStack alignItems="center">
<Badge
Expand Down
Loading

0 comments on commit d0392cc

Please sign in to comment.