0.0.2 • Published 4 months ago
@gluestack-ui/nativewind v0.0.2
@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.
0.0.1-alpha.4
4 months ago
0.0.2
4 months ago
0.0.1-alpha.2
5 months ago
0.0.1-alpha.3
4 months ago
0.0.1-alpha.1
5 months ago
0.0.1-alpha.0
5 months ago