0.1.1 • Published 4 years ago
react-prime-motc-sider v0.1.1
react-prime-motc-sider
Source code at https://github.com/carie8655/react-prime-motc-sider
Installation
npm install --save react-prime-motc-sideror
yarn add react-prime-motc-siderUsage
import React from 'react';
import MOTCSider from 'react-prime-motc-sider';
function MOTCSiderDemo(){
return(
<React.Fragment>
<div>
<MOTCSider
title="Test"
width={250}
menu={[]}
/>
</div>
</React.Fragment>
)
}
export default MOTCSiderDemo;Props
| Name | Type | Default |
|---|---|---|
| title | 'string' | '' |
| width | 'number' | '' |
| menu | 'array' | [] |