@21epub/functional-button
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

functional-button

functional buttons for epub360

node version

node >= 16

dev start command

npm install

npm run dev

release

npm run release

storybook

npm run storybook

usage

ExportButton

import {ExportButton} from '@21epub/functional-button'

export default function Test() {

    return(
        <ExportButton 
            content="导出PDF" 
            exportUrl={`/v3/api/docset/${slug}/export_pdf/`}
        />
    )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @21epub/functional-button

Weekly Downloads

2

Version

0.1.10

License

none

Unpacked Size

54.1 kB

Total Files

14

Last publish

Collaborators

  • csj117
  • gary.guzy
  • zhangwei0126
  • dxsix
  • wagon1104
  • ongyuxing