ark icon indicating copy to clipboard operation
ark copied to clipboard

feat(*): allow to configure machine externally

Open cschroeter opened this issue 1 year ago • 1 comments

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>
  )
}

cschroeter avatar May 13 '24 20:05 cschroeter

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

vercel[bot] avatar May 13 '24 20:05 vercel[bot]

Closing in favour of https://github.com/chakra-ui/ark/pull/2526

cschroeter avatar Jun 05 '24 17:06 cschroeter