Styled Native Text
This component is build on React Native Text which is used to render text. It supports nesting, styling, and touch handling.
Usage
App.tsx
import { StyledWindText } from "expo-nativewind-components";
export default function App() {
return (
<StyledWindText className="text-center text-2xl font-bold text-blue-500 mt-10">
Hello Awesome developers 👋🏽
</StyledWindText>
);
}
Props Reference
You can find all the possible props that you can pass to the StyledWindText
component below from the official React Native documentation (opens in a new tab).