@fidely-ui/react
Version:
Fidely UI is a modern, beautifully crafted React design system powered by Ark UI and Panda CSS, delivering accessible and themeable components for building exceptional web apps
9 lines (8 loc) • 426 B
JavaScript
'use client';
import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { Button } from '../button/index';
export const IconButton = forwardRef(function IconButton(props, ref) {
return (_jsx(Button, { ref: ref, px: "0", py: "0", display: "inline-flex", alignItems: "center", justifyContent: "center", _icon: { fontSize: '1.1em' }, ...props }));
});
IconButton.displayName = 'IconButton';