open-index/open-npm huggingface dataset:
npm package: @redox-contrib/models
Description: Typescript definitions for the Redox API.
Author: Jim Geurts
Latest version: 0.2.0

# Redox Models

Typescript definitions for the [Redox API](https://developer.redoxengine.com/data-models/).

[![NPM version](https://img.shields.io/npm/v/@redox-contrib/models.svg?style=flat)](https://npmjs.org/package/@redox-contrib/models)

# License

The scripts and documentation in this project are released under the [MIT License](LICENSE.md)

# Contributions

Contributions are welcome!  See [Contributor's Guide](CONTRIBUTING.md)

## Code of Conduct

:wave: Be nice.  See [our code of conduct](CONDUCT.md)
npm package: @redox-org/react-native-redox
Description: This's library with mobile components
Author: Redox Group
Latest version: 1.0.82

# @redox-org/react-native-redox

This's library with mobile components

## Installation

```sh
npm install @redox-org/react-native-redox
```

## Usage
### FOR Gradient Effect
```js
import { Curtain } from "@redox-org/react-native-redox";

// ...

<Curtain
    colors={['#FFF', '#000', '#222']}
    gradientEnabled={true}
    >
    <>{children[0]}<> // Header
    <>{children[1]}<> // BackComponent
    <>{children[2]}<> // Curtain Component
    </Curtain>

// ...
```
### FOR Default View
```js
import { Curtain } from "@redox-org/react-native-redox";

// ...

<Curtain>
    <>{children[0]}<> // Header
    <>{children[1]}<> // BackComponent
    <>{children[2]}<> // Curtain Component
    </Curtain>

// ...
```

## Props
```js
    /**
    * If the value is three, then the background will be rendered with a gradient effect.
    * But then you definitely need to set the value of the array of colors in colors
    */

   gradientEnabled?: boolean;

    /**
    * Accepts an array of colors if gradientEnabled key = true
    */

   colors?: (string | number)[];

    /**
    * It accepts only 3 children at the entrance. This is important as each child is treated
    * differently. The first child gets to the very top. The second will be behind all the others.
    * The third will be the curtain.
    */

    children: ReactNode[];
  
    /**
    * Accepts standard styles for the View component
    */
  
    style?: ReactNative.StyleProp<ReactNative.ViewStyle>;
  
    /**
    * Special clearance from top to curtain
    */
  
    gapValue?: number;

    /**
    * This parameter sets styles for the "Curtain" component.
    */
  
    styleCurtainComponent?: ReactNative.StyleProp<ReactNative.ViewStyle>;

    /**
    * This parameter sets styles for the "Back" component.
    */
  
    styleBackComponent?: ReactNative.StyleProp<ReactNative.ViewStyle>;

    /**
    * This parameter sets height for the "Header" component. (or children[0] -- 'First')
    */
  
    heightHeaderComponent?: number;

    /**
    * Determines activity of RefreshControl
    */
  
    refreshing?: boolean,

    /**
    * Event handler for RefreshControl (default: false)
    */
  
    onRefresh?: (() => void),

    /**
    * This parameter sets RefreshControl props
    */
  
    refreshConfig?: RefreshControlProps 
```
## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT