mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
19 lines
384 B
TypeScript
19 lines
384 B
TypeScript
import React from 'react';
|
|
|
|
import { CloseButton } from 'toolkit/chakra/close-button';
|
|
import { Tooltip } from 'toolkit/chakra/tooltip';
|
|
|
|
type Props = {
|
|
onClick: () => void;
|
|
};
|
|
|
|
const ResetIconButton = ({ onClick }: Props) => {
|
|
return (
|
|
<Tooltip content="Reset filter">
|
|
<CloseButton onClick={ onClick } ml={ 1 }/>
|
|
</Tooltip>
|
|
);
|
|
};
|
|
|
|
export default ResetIconButton;
|