@guruhotel/aura-ui
Version:
⚛️ React UI library by GuruHotel
1 lines • 327 B
JavaScript
import r,{useRef as t}from"react";import{useButton as e}from"@react-aria/button";import{Button as o}from"./date-picker.styles";import{jsx as i}from"react/jsx-runtime";export function FieldButton({rounded:r,isPressed:s,...n}){const d=t(),{buttonProps:m}=e(n,d);return i(o,{...m,ref:d,isPressed:s,rounded:r,children:n.children})}