0.0.2 • Published 4 months ago

@gluestack-ui/nativewind v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

@gluestack-ui/nativewind

Installation

To use gluestack-ui components with nativewind, all you need to do is install the @gluestack-ui/nativewind package:

$ yarn add @gluestack-ui/nativewind react-native-svg@13.4.0

# or

$ npm i @gluestack-ui/nativewind react-native-svg@13.4.0

Usage

A button component is a graphical user interface element that enables users to act by clicking or tapping. It can be customized in size, shape, color, and behavior to fit the design of the application or website. Here's an example:

import { Button } from '@gluestack-ui/nativewind';

export default function App () {
 return (
     <Button className="px-2 py-4 bg-blue-500" >
      <ButtonText className="text-white">
        Hello world!
      </ButtonText>
     <Button>
  )
}

More guides on how to get started are available here.