Skip to content

Commit

Permalink
fix: alert component examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Chaudhary authored and Rajat Chaudhary committed Aug 1, 2024
1 parent 720dc20 commit 32dd9a7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1,252 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ The Examples section provides visual representations of the different variants o
action="warning"
className="gap-4 max-w-[516px] w-full flex-row flex py-4 items-start self-center"
>
<AlertIcon as={RepeatIcon} />
<AlertIcon as={RepeatIcon} className="mt-1" />
<HStack className="justify-between flex-1 items-center gap-1 sm:gap-8">
<VStack className="flex-1">
<Text className="font-semibold text-typography-900">
Expand Down Expand Up @@ -337,7 +337,7 @@ The Examples section provides visual representations of the different variants o
showArgsController={false}
metaData={{
code: `
<Alert action="error" className="gap-3 items-start">
<Alert action="error" className="gap-3">
{/* Bomb is imported from 'lucide-react-native' */}
<AlertIcon as={Bomb} size="lg" />
<AlertText className="text-typography-900" size="sm">
Expand Down
Loading

0 comments on commit 32dd9a7

Please sign in to comment.