A collection of tools for my React Native projects.
npm i --save git://github.com/msukmanowsky/react-native-toolbox.git
Like Tailwind, but customized for me:
import { View } from "react-native";
import { scutwind as sw } from "react-native-toolbox";
const Thing = () => (
<View style={sw("flex-grow mx-4 bg-gray-100")} />
);
import { hooks } from "react-native-toolbox";
const { useAsyncStorage } = hooks;
const [value, setValue] = useAsyncStorage(null);
Get random users from https://randomuser.me
import { hooks } from "react-native-toolbox";
const { useRandomUsers } = hooks;
const users = useRandomUsers(options);
Generated using TypeDoc