diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-23 05:27:38 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-23 05:27:38 +0800 |
commit | 4bf1ca0d1777d56126b3c5113a129738ba3c8d0d (patch) | |
tree | 80f1636f05fd55308dff48c14033f0f876299c0e /packages/instant/src/components/retry_button.tsx | |
parent | d52a04e725afce3c2d563bcc52bd3273002af318 (diff) | |
download | dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.tar dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.tar.gz dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.tar.bz2 dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.tar.lz dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.tar.xz dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.tar.zst dexon-sol-tools-4bf1ca0d1777d56126b3c5113a129738ba3c8d0d.zip |
Making SecondaryButton accept children instead of text prop
Diffstat (limited to 'packages/instant/src/components/retry_button.tsx')
-rw-r--r-- | packages/instant/src/components/retry_button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/retry_button.tsx b/packages/instant/src/components/retry_button.tsx index 28547ce54..0d6188e6a 100644 --- a/packages/instant/src/components/retry_button.tsx +++ b/packages/instant/src/components/retry_button.tsx @@ -7,5 +7,5 @@ export interface RetryButtonProps { } export const RetryButton: React.StatelessComponent<RetryButtonProps> = props => { - return <SecondaryButton text="Try Again" onClick={props.onClick} />; + return <SecondaryButton onClick={props.onClick}>Try Again</SecondaryButton>; }; |