mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 02:43:50 +00:00
17 lines
381 B
React
17 lines
381 B
React
import { IconButton } from '@chakra-ui/button';
|
|
import { FiPlus } from 'react-icons/fi';
|
|
|
|
export default function AddIconBtn(props) {
|
|
const { clickhandler, ...rest } = props;
|
|
return (
|
|
<IconButton
|
|
size={props.size || 'xs'}
|
|
icon={<FiPlus />}
|
|
colorScheme='blue'
|
|
onClick={clickhandler}
|
|
_focus={{ boxShadow: 'none' }}
|
|
{...rest}
|
|
/>
|
|
);
|
|
}
|