yarn add @pingtou/rn-vant
Or
npm install @pingtou/rn-vant
Open the camera app on your device and scan the code below:
The following are some code examples of rn-vant:
import React from 'react';
import { Button } from '@pingtou/rn-vant';
function App() {
return <Button type="primary">Default Button</Button>;
};
export default App;