f-virtual-waterfall-react
v1.3.3
Published
> `npm i f-virtual-waterfall-react`
Downloads
92
Readme
f-virtual-waterfall-react
Installation
npm i f-virtual-waterfall-react
or
yarn add f-virtual-waterfall-react
Usage
import VirtualWaterfall from 'f-virtual-waterfall-react';
import 'f-virtual-waterfall-react/dist/main.min.css';
<VirtualWaterfall
waterfallItemStyle={
{
border: '1px solid #ddd',
borderRadius: pxToVW(16),
}
}
renderItemContent={itemContentRenderFn}
textBoxParams={
{
paddingLeft: 0,
paddingRight: 0,
marginTop: 10,
marginBottom: 10,
lineHeight: 24,
maxRows: 2
}
}
getList={getList}
/>