aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/retry_button.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-10-24 23:38:03 +0800
committerGitHub <noreply@github.com>2018-10-24 23:38:03 +0800
commit8635f8d7325d472dd7d4fac26f1a87bee17edd1a (patch)
tree5dbdd2c424a209e1120a019c94a84a4a28b3c776 /packages/instant/src/components/retry_button.tsx
parent4a72dc6c6f0825232d61e470f5b7975aec2e5c0e (diff)
parent4df8e60f42a372ae70f15cadbe1942ba27097f7a (diff)
downloaddexon-0x-contracts-8635f8d7325d472dd7d4fac26f1a87bee17edd1a.tar.gz
dexon-0x-contracts-8635f8d7325d472dd7d4fac26f1a87bee17edd1a.tar.zst
dexon-0x-contracts-8635f8d7325d472dd7d4fac26f1a87bee17edd1a.zip
Merge pull request #1170 from 0xProject/feature/instant/failure-state
[instant] Failure state
Diffstat (limited to 'packages/instant/src/components/retry_button.tsx')
-rw-r--r--packages/instant/src/components/retry_button.tsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/instant/src/components/retry_button.tsx b/packages/instant/src/components/retry_button.tsx
new file mode 100644
index 000000000..28547ce54
--- /dev/null
+++ b/packages/instant/src/components/retry_button.tsx
@@ -0,0 +1,11 @@
+import * as React from 'react';
+
+import { SecondaryButton } from './secondary_button';
+
+export interface RetryButtonProps {
+ onClick: () => void;
+}
+
+export const RetryButton: React.StatelessComponent<RetryButtonProps> = props => {
+ return <SecondaryButton text="Try Again" onClick={props.onClick} />;
+};