mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-05 23:43:57 +00:00
abdd2606ee
- modify add button to be consistent with main menu colours
19 lines
475 B
React
19 lines
475 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 />}
|
|
_expanded={{ bg: 'orange.300', color: 'white' }}
|
|
_focus={{ boxShadow: 'none' }}
|
|
backgroundColor={'orange.200'}
|
|
color={'orange.500'}
|
|
onClick={clickhandler}
|
|
{...rest}
|
|
/>
|
|
);
|
|
}
|