import * as React from 'react'; import TextButton, { ButtonType, TextButtonProps } from './TextButton'; type Props = Omit; const makeTextButtonComponent = (type: ButtonType) => { return (props: Props) => { return ; }; }; export const PrimaryButton = makeTextButtonComponent(ButtonType.Primary); export const SecondaryButton = makeTextButtonComponent(ButtonType.Secondary); export const LinkButton = makeTextButtonComponent(ButtonType.Link);