rm Text prop for now

This commit is contained in:
Collin M. Barrett 2019-08-05 20:44:33 -05:00
parent f625706540
commit 26ad94bc7a

View file

@ -5,11 +5,10 @@ import * as React from "react";
interface Props {
name: string;
viewUrl: string;
text?: string;
};
export const SubscribeButton = (props: Props) => props.viewUrl
? <Button {...buildButtonProps(props)}>{props.text || "Subscribe"}</Button>
? <Button {...buildButtonProps(props)}>Subscribe</Button>
: null;
const buildButtonProps = (props: Props) => {