Implement metamask installation flow

This commit is contained in:
fragosti
2018-05-24 10:11:56 -07:00
parent c7f5e77b3f
commit b49148ec54
6 changed files with 75 additions and 19 deletions

View File

@@ -17,9 +17,16 @@ const joyrideStyleOptions: StyleOptions = {
// Wrapper around Joyride with defaults and styles set
export class OnboardingFlow extends React.Component<OnboardingFlowProps> {
private _joyrideRef: React.RefObject<Joyride>;
constructor(props: OnboardingFlowProps) {
super(props);
this._joyrideRef = React.createRef();
}
public render(): React.ReactNode {
return (
<Joyride
ref={this._joyrideRef}
run={this.props.isRunning}
debug={true}
steps={this.props.steps}