Use copilot with custom native-base components
See original GitHub issueIt seems not possible to highlight buttons in the walkthrough.
I call this.props.start();
so that shouldn’t be the problem. It might have to do with the custom components in native-base. If we are using the normal components it works perfectly, but with the custom components, it won’t.
How can I make copilot work with custom native-base components?
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Use copilot with custom native-base components #31 - GitHub
Only "native" components can be made walkthroughable using the walkthroughable helper. https://github.com/okgrow/react-native-copilot#custom- ...
Read more >How to pass a already implemented ... - Stack Overflow
Finally add the copilot step and use the new Walkthroughable component in place where you would've used TouchableOpacity .
Read more >Customizing Components - NativeBase
Using NativeBase's extendTheme function, we can customise components. Components can be customised by overriding baseStyle/defaultProps or adding a new variant.
Read more >Shoud i use nativebase for creating UI component in my react ...
Personally I like to make custom components. ... I am using native base with custom designs. ... A GitHub Copilot Extension for Xcode....
Read more >How to pass a already implemented Component inside the ...
import { copilot, walkthroughable, CopilotStep } from "@okgrow/react-native-copilot"; import { Icon } from "native-base"; import React, { Component } from ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can add:
@mohebifar I found that
tooltipText: { }
Then I am able to see the color for text in Android.
In CopilotModel.js file, I found one condition that
if (this.props.androidStatusBarVisible && Platform.OS === ‘android’) { obj.top -= StatusBar.currentHeight; // eslint-disable-line no-param-reassign }