Add arrow to tooltip

This commit is contained in:
Paulo Gustavo Veiga 2022-10-23 00:48:39 -07:00
parent e45b4c870a
commit fb6141ccab

View File

@ -34,7 +34,7 @@ import ActionConfig from '../../classes/action/action-config';
export const ToolbarButtonOption = (props: { configuration: ActionConfig }) => { export const ToolbarButtonOption = (props: { configuration: ActionConfig }) => {
const selected = props.configuration.selected && props.configuration.selected(); const selected = props.configuration.selected && props.configuration.selected();
return ( return (
<Tooltip title={props.configuration.tooltip || ''} disableInteractive> <Tooltip title={props.configuration.tooltip || ''} disableInteractive arrow={true}>
<Box component="span" my="auto"> <Box component="span" my="auto">
<IconButton <IconButton
onClick={props.configuration.onClick} onClick={props.configuration.onClick}