open-index/open-npm huggingface dataset:
npm package: @red_dot/sdk-rn
Description: Red_Dot SDK for React Native
Author: xueyuejie
Latest version: 0.0.4

# redotpay-sdk

RedotPay SDK for React Native

## Installation


```sh
npm i @red_dot/sdk-rn
```


## Usage

```jsx
import { PaymentContainer } from '@red_dot/sdk-rn';

function App() {
  return (
    <PaymentContainer
      preOrderId="your-pre-order-id"
      language="en"
      onClose={() => {
        // 处理关闭事件
      }}
    />
  );
}
```


## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)