import _extends from "@babel/runtime/helpers/esm/extends";
import React, { memo } from 'react';
import Button from './button';
// import { useTheme } from '@helpdice/theme';
// import { ButtonTypes } from 'components/button-group';

// type SmallButtonProps = {
//     children?: React.ReactNode;
//     iconRight?: React.ReactNode;
//     to: string;
//     icon?: React.ReactNode;
//     scale?: number;
//     type?: any;
//     style?: CSSProperties;
//     target?: string;
//     color?: ButtonTypes;
//     onClick?: () => void
// };

var SmallButton = function SmallButton(props) {
  // const theme = useTheme();
  return /*#__PURE__*/React.createElement(Button, _extends({
    auto: true,
    scale: 2 / 3,
    px: 0.6
  }, props), props.children);
};
export default /*#__PURE__*/memo(SmallButton);