Skip to content

Commit

Permalink
fix: chevron in item layout
Browse files Browse the repository at this point in the history
  • Loading branch information
alter-eggo committed Dec 13, 2024
1 parent bf5950f commit 7952755
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/ui/src/components/item-layout/item-layout.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
pressableChevronStyles,
} from '../../components/pressable/pressable.web';
import { CheckmarkIcon } from '../../icons/checkmark-icon.web';
import { ChevronUpIcon } from '../../icons/chevron-up-icon.web';
import { ChevronRightIcon } from '../../icons/chevron-right-icon.web';

interface ItemLayoutProps {
captionLeft: ReactNode;
Expand Down Expand Up @@ -82,7 +82,11 @@ export function ItemLayout({
)}
</Stack>
{showChevron && (
<ChevronUpIcon color={pressableChevronStyles} transform="rotate(90deg)" variant="small" />
<ChevronRightIcon
color={pressableChevronStyles}
transform="rotate(90deg)"
variant="small"
/>
)}
</HStack>
</Flex>
Expand Down

0 comments on commit 7952755

Please sign in to comment.