File size: 370 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use client"

import { forwardRef } from "react"
import { Square, type SquareProps } from "../square"

export interface CircleProps extends SquareProps {}

export const Circle = forwardRef<HTMLDivElement, SquareProps>(
  function Circle(props, ref) {
    const { size, ...rest } = props
    return <Square size={size} ref={ref} borderRadius="9999px" {...rest} />
  },
)