@gluestack-ui/config-v2
v1.1.1
Published
Themed configuration for gluestack-ui components
Downloads
274
Readme
@gluestack-ui/themed
Installation
To use gluestack-ui components, all you need to do is install the
@gluestack-ui/themed
package:
$ yarn add @gluestack-ui/themed @gluestack-style/react [email protected]
# or
$ npm i @gluestack-ui/themed @gluestack-style/react [email protected]
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 how to use this package to create one:
import { createButton } from '@gluestack-ui/themed';
import {
Root,
Text,
Group,
GroupHSpacer,
GroupVSpacer,
Spinner,
Icon,
} from '@gluestack-ui/themed';
export const Button = createButton({
Root,
Text,
Group,
GroupHSpacer,
GroupVSpacer,
Spinner,
Icon,
});
More guides on how to get started are available here.