Forte UI (Work In Progress)
UI Library for Expo / React Native / React Native Web based on Dripsy
Components
How to use
yarn add forte-ui
Wrap your app with Provider component
import React from "react"
import { Provider } from "forte-ui"
const App = ({children}) => (
<Provider>
<SomeLayoutComponent>
{children}
</SomeLayoutComponent>
<Provider>
)
import React from "react"
import { Button, Input } from "forte-ui"
const Page = () => {
const [value,onChangeText] = React.useState("")
const onPress = () => {
console.log("value",value)
}
return (
<App>
<Input.Text {...{value,onChangeText}} />
<Button onPress={onPress} variant="primary">Click Me</Button>
</App>
)}
For more information
Library
License
MIT