@typography-org/react
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@typography-org/react

install

npm i @typography-org/react -S

fast use

import React from 'react';
import { Paragraph } from '@typography-org/react';
export default () => {
  return (
    <div style={{ width: 300, fontSize: 14, border: '1px solid orange', boxSizing: 'initial'}}>
      <Paragraph
        ellipsis={{
          expandable: true,
          packupable: true,
          rows: 2,
        }}
      >
        I may be the first row of data displayed in this text box hey, I may be the second row of data displayed in this text box, I may be the third row of data displayed in this text box
      </Paragraph>
    </div>
  )
}

Documentation

See https://drdevelop.github.io/typography/react/index.html

Community

Vue Components

@typography-org/vue

Native

@typography-org/native

Package Sidebar

Install

npm i @typography-org/react

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

24.2 kB

Total Files

20

Last publish

Collaborators

  • drdevelop