Skip to content

Commit d3814e8

Browse files
committed
docs: update demos
1 parent ee23194 commit d3814e8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

website/src/components/ui/pagination.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ export const Pagination = forwardRef<HTMLElement, PaginationProps>((props, ref)
1919
pagination.pages.map((page, index) =>
2020
page.type === 'page' ? (
2121
<ArkPagination.Item key={index} {...page} asChild>
22-
<Button variant="outline">{page.value}</Button>
22+
<Button variant={{ base: 'outline', _selected: 'solid' }} _selected={{ colorPalette: 'coral' }}>
23+
{page.value}
24+
</Button>
2325
</ArkPagination.Item>
2426
) : (
2527
<ArkPagination.Ellipsis key={index} index={index}>

website/src/components/ui/pin-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const PinInput = forwardRef<HTMLDivElement, PinInputProps>((props, ref) =
1414
const { children, length = 4, ...rootProps } = props
1515

1616
return (
17-
<ArkPinInput.Root ref={ref} {...rootProps}>
17+
<ArkPinInput.Root ref={ref} {...rootProps} placeholder="">
1818
{children && <ArkPinInput.Label>{children}</ArkPinInput.Label>}
1919
<ArkPinInput.Control>
2020
{Array.from({ length }, (_, index) => index).map((id, index) => (

0 commit comments

Comments
 (0)