1.3.5 • Published 4 years ago
x-datas v1.3.5
x-datas is a react component library
Install
# yarn
yarn add x-datas -S
# npm
npm i x-datas -S
How to use
import React, { useState } from 'react';
// import x-datas libary
import * as xds from 'x-datas';
// import x-datas styles files
import 'x-datas/dist/index.css';
const App = () => {
const [containerList, setContainerList] = useState([]);
return <xds.RenderBox containers={containerList} backagegroundImage={'https://xxxx.com/xxx.png'} />;
};