@gaopeng123/rc-card-ellipsis
TypeScript icon, indicating that this package has built-in type declarations

1.3.7-alpha.5 • Public • Published

RcCardEllipsis

卡片展开和收起 在线demo

Usage

import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { RcCardEllipsis } from "../src";

const App = () => {
    return (
        <RcCardEllipsis onChange={(e)=> {
            console.log(e);
        }} minHeight={100} mode="simple">
            12<br/>
            12<br/>
            12<br/>
            12<br/>
            12<br/>
            12<br/>
            12<br/>
        </RcCardEllipsis>
    );
};

ReactDOM.render(<App/>, document.getElementById('root'));

Readme

Keywords

Package Sidebar

Install

npm i @gaopeng123/rc-card-ellipsis

Weekly Downloads

0

Version

1.3.7-alpha.5

License

MIT

Unpacked Size

7.89 kB

Total Files

8

Last publish

Collaborators

  • gaopeng123