React with Native

Bringing together React and React Native

GitHub

README

React with native select

react-with-native-select (

OperationClassification

TODO: Ensure embedding this will embed the actual docs in my markdown renderer. I guess it might already do so!

TODO: It would be great to learn more about this topic and see if I can make more cross-environment packages. A great use case would be to create a wrapper around the current fs-orm to enable using it at the frontend too.

OperationClassification ui-cjs)

Api reference
useSelect()

Create a value selector in a single line of code, including its state!

Usage
const [SelectView, view, setView] = useSelect(views);
Input
-
Output
📄 useSelect (exported const)

Create a value selector in a single line of code, including its state!

Usage
const [SelectView, view, setView] = useSelect(views);
<Select />

renders either a SelectDropdown or SelectDrawer, based on screensize

Input
-
OutputJSX.Element
useSelectMultiple()

Create a value selector in a single line of code, including its state!

Input
-
Output
📄 Select (exported const)

renders either a SelectDropdown or SelectDrawer, based on screensize

📄 useSelectMultiple (exported const)

Create a value selector in a single line of code, including its state!

Internal
Show internal (5)
getRealValue()
Input
-
Output{ value: string,
label: string,
data: { },
}
<SelectMultipleInput />
Input
-
OutputJSX.Element
🔹 ID
📄 getRealValue (exported const)
📄 SelectMultipleInput (exported const)