ark
ark copied to clipboard
feat(*): allow to configure machine externally
import { Avatar, useAvatar } from '@ark-ui/react'
export const External = () => {
const api = useAvatar({ onStatusChange: (e) => console.log('status changed', e) })
return (
<Avatar.Root api={api}>
<Avatar.Fallback>PA</Avatar.Fallback>
<Avatar.Image src="https://i.pravatar.cc/300" alt="avatar" />
</Avatar.Root>
)
}
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated (UTC) |
|---|---|---|---|
| ark-docs | ✅ Ready (Inspect) | Visit Preview | May 13, 2024 8:28pm |
Closing in favour of https://github.com/chakra-ui/ark/pull/2526