We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every time when refresh page include this component in h5, it throw some exception.
show without exception.
https://callstack.github.io/react-native-paper/docs/components/FAB/FABGroup
import * as React from 'react'; import { FAB, Portal, PaperProvider } from 'react-native-paper'; const FabGroup = () => { const [state, setState] = React.useState({ open: false }); const onStateChange = ({ open }) => setState({ open }); const { open } = state; return ( <Portal> <FAB.Group open={open} visible icon={open ? 'calendar-today' : 'plus'} actions={[ { icon: 'plus', onPress: () => console.log('Pressed add') }, { icon: 'star', label: 'Star', onPress: () => console.log('Pressed star'), }, { icon: 'email', label: 'Email', onPress: () => console.log('Pressed email'), }, { icon: 'bell', label: 'Remind', onPress: () => console.log('Pressed notifications'), }, ]} onStateChange={onStateChange} onPress={() => { if (open) { // do something if the speed dial is open } }} /> </Portal> ); }; export default FabGroup;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current behaviour
Every time when refresh page include this component in h5, it throw some exception.
Expected behaviour
show without exception.
How to reproduce?
https://callstack.github.io/react-native-paper/docs/components/FAB/FABGroup
Preview
What have you tried so far?
Your Environment
The text was updated successfully, but these errors were encountered: