import { ForwardedRef, forwardRef, PropsWithChildren } from 'react'; import { Playback } from 'ontime-types'; import style from './TapButton.module.scss'; interface TapButtonProps { disabled?: boolean; square?: boolean; onClick: () => void; theme?: Playback | 'neutral'; active?: boolean; } const TapButton = forwardRef((props: PropsWithChildren, ref: ForwardedRef ) => { const { children, disabled, onClick, theme = 'neutral', square, active } = props; return ( ); }); TapButton.displayName = "TabButton"; export default TapButton;