Package to add items in dev menu
npm install react-native-add-items-in-dev-menuPackage to add items in dev menu for toggle funcionalities
``sh`
npm install react-native-add-items-in-dev-menu
`js
import { useDevSettings } from "react-native-add-items-in-dev-menu";
// ...
const { loading, state } = useDevSettings([
{name: "Title to show in dev menu"},
{name: "Fixtures"},
{name: "Clear AssyncStorage", action: async () => await AsyncStorage.clear()},
{name: "Say hello", action: () => Alert.alert("Hello!")}
])
/*
Value of the variable state:
{"useTitleToShowInDevMenu": false, "useSayHello": false}
*/
// ...
const isShowTitle = state.useTitleToShowInDevMenu
if (loading) {
return
}
return (
...
)
``

readme in construction...