Implement metamask installation flow
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user