import * as React from 'react'; import { Link, LinkProps } from "react-router-dom"; export interface ButtonProps extends LinkProps { disabled?: boolean inverted?: boolean } export function Button(props: ButtonProps) { if (props.disabled) { return {props.children} } else { return {props.children} } }