diff --git a/front/components/IconButton.tsx b/front/components/IconButton.tsx new file mode 100644 index 0000000..3a1e2f1 --- /dev/null +++ b/front/components/IconButton.tsx @@ -0,0 +1,12 @@ +import { Box, Button } from "native-base"; + +type IconButtonProps = { + icon: Parameters[0]['leftIcon'] +} & Omit[0], 'leftIcon' | 'rightIcon'>; + +// Wrapper around Button for IconButton as Native's one sucks <3 +const IconButton = (props: IconButtonProps) => { + return