UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

24 lines (21 loc) 453 B
"use strict"; "use client"; import { jsx } from 'react/jsx-runtime'; import { forwardRef } from 'react'; import { Button } from './button.js'; const IconButton = forwardRef( function IconButton2(props, ref) { return /* @__PURE__ */ jsx( Button, { px: "0", py: "0", _icon: { fontSize: "1.2em" }, ref, ...props } ); } ); IconButton.displayName = "IconButton"; export { IconButton };