API Reference

Component API

Component exports and props.

Component API

Component exports accept the original React Native props plus className.

import { View, Text, Pressable } from '@nitrofoundation/nitrowind';

<Pressable className="rounded-lg bg-teal-700 p-3 active:bg-teal-800">
  <Text className="text-white">Save</Text>
</Pressable>;

Exported components

ExportNotes
ViewSupports generated pseudo shims and container markers.
TextSupports text styles and text shadow props.
PressableDrives active, hover, focus, disabled, and group state.
TextInputSupports placeholder and selection color mappings.
ScrollViewSupports className-aware content containers.
FlatListSupports className-aware list style props.
SectionListSupports className-aware list style props.
Other RN host wrappersImage, ImageBackground, Switch, touchables, and more.

Type exports include NitrowindViewProps, NitrowindTextProps, NitrowindScrollViewProps, NitrowindFlatListProps, and NitrowindSectionListProps.

On this page