mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
rm Text prop for now
This commit is contained in:
parent
f625706540
commit
26ad94bc7a
1 changed files with 1 additions and 2 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue