Import Analog Clock and compose its parts.
analog-clock.tsx
AnalogClock
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| time | string | — | The IANA zone ("Asia/Tokyo"). Default: the reader's zone. |
| show | boolean | false | Draw the second hand, which steps once a second. Default false: the hands step each minute. |
| marks | "hours""none""quarters" | "hours" | The marks: hours (default), quarters, or none. A face of 48px or less draws none. |
| diameter | number | — | The size in px. Default: 1em, so the face takes the font size around it. |
| now | number | Date | — | A fixed now for tests and stories: the hands stand still. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |









