An open API service indexing awesome lists of open source software.

https://github.com/danielmejiadev/react-native-components-kit

A set of easy and highly customizable React Native components
https://github.com/danielmejiadev/react-native-components-kit

component-library react react-components react-native reactjs reactnative utility-library

Last synced: 9 days ago
JSON representation

A set of easy and highly customizable React Native components

Awesome Lists containing this project

README

          

# react-native-components-kit
[NPM Package](https://www.npmjs.com/package/react-native-components-kit)

A set of easy and highly customizable React Native components

## Getting started

- `yarn add react-native-components-kit`
- `npm install react-native-components-kit`

# Components

## SummaryItems

It allows you to create a highly customizable and dynamic summary of items.

Example of usage

### Usage

`import { SummaryItems } from 'react-native-components-kit';`

```tsx

```

## StepperContainer

It allows you to create a container wrapper for a stepper with the whole logic.

### Usage

`import { StepperContainer, useStepper } from 'react-native-components-kit';`

```tsx
function MyComponent() {
const { goToNext, goToPrevious, goTo } = useStepper();
return ;
}

function MyStepper() {
const steps = [
{
key: 'firstStep',
component: ({ goToNext, goToPrevious, goTo, ...stepProps }) => MyComponent,
},
{
key: 'secondStep',
component: ({ goToNext, goToPrevious, goTo, ...stepProps }) => MyComponent,
}
];

return (
console.log('go to back pressed on the first step')}
onSubmit={() => console.log('go to next pressed on the last step')}
steps={steps}
{...stepProps}
/>
);
}
```

### License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.