React with native
react-with-native (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
📄 Div (exported const)
<P />
📄 P (exported const)
<Span />
📄 Span (exported const)
<Button />
📄 Button (exported const)
<Input />
📄 Input (exported const)
<Svg />
Input | | |
---|
{ src, width, height, className, style } | SvgType | |
Output | JSX.Element | |
📄 Svg (exported const)
<Form />
Form is just a html form on web. On react-native, it's a View
📄 Form (exported const)
Form is just a html form on web. On react-native, it's a View
<A />
<H2 />
<Image />
<Label />
<Li />
<TextArea />
<Ul />
📄 A (exported const)
📄 H2 (exported const)
📄 Image (exported const)
📄 Label (exported const)
📄 Li (exported const)
📄 TextArea (exported const)
📄 Ul (exported const)
<ActivityIndicator />
<Aside />
<Strong />
<Text />
<Toggle />
📄 ActivityIndicator (exported const)
📄 Aside (exported const)
📄 Strong (exported const)
📄 Text (exported const)
📄 Toggle (exported const)
Internal
Show internal (21)
getTailwindModules()
Input | | |
---|
options | { packages?: string[], modules?: string[], isWorkspace?: boolean, } | |
Output | | |
<I />
joinClassNames()
<Nav />
<Ol />
<Pressable />
button on web, pressable on react-native
<Select />
<TouchableOpacity />
button on web, pressable on react-native
trimClassName()
in react-native not all classNames are supported
Input | | |
---|
className | string | |
Output | String | |
wrapInTextIfNeeded()
NB: figure out a way to do the styles of the text right.
🔹 SvgType
Properties:
Name | Type | Description |
---|
src | object | |
width (optional) | number | |
height (optional) | number | |
className (optional) | string | |
style (optional) | object | |
📄 getTailwindModules (exported const)
📄 I (exported const)
📄 joinClassNames (exported const)
📄 Nav (exported const)
📄 Ol (exported const)
📄 Pressable (exported const)
button on web, pressable on react-native
📄 Select (exported const)
📄 TouchableOpacity (exported const)
button on web, pressable on react-native
📄 trimClassName (exported const)
in react-native not all classNames are supported
📄 wrapInTextIfNeeded (exported const)