mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 03:43:50 +00:00
67ddcd8c68
* feat/table add react-table * feat/table add protected table route * feat/table upgrade dependencies * feat/table support parsing of new properties Co-authored-by: DeepSource Bot <bot@deepsource.io>
23 lines
692 B
React
23 lines
692 B
React
import React from 'react';
|
|
import { IconButton } from '@chakra-ui/button';
|
|
import { IoPlaySkipForward } from '@react-icons/all-files/io5/IoPlaySkipForward';
|
|
import { Tooltip } from '@chakra-ui/tooltip';
|
|
|
|
export default function NextIconBtn(props) {
|
|
const { clickhandler, disabled, ...rest } = props;
|
|
return (
|
|
<Tooltip label='Next event' openDelay={500} shouldWrapChildren={disabled}>
|
|
<IconButton
|
|
icon={<IoPlaySkipForward size='22px' />}
|
|
colorScheme='whiteAlpha'
|
|
backgroundColor='#ffffff11'
|
|
variant='outline'
|
|
onClick={clickhandler}
|
|
width={90}
|
|
_focus={{ boxShadow: 'none' }}
|
|
{...rest}
|
|
/>
|
|
</Tooltip>
|
|
);
|
|
}
|