export default function Button(props: { text: string; href?: string; onclick?: () => void; }) { return props.href ? {props.text} : {props.text}; }