Skip to content

ant design 使用 react-pdf viewer的示例,自定义了toolbar的实现,支持可以安权限显示相应的操作按钮,比如没有下载权限不显示下载按钮

Notifications You must be signed in to change notification settings

xbeeant/ant-design-react-pdf-viewer

Repository files navigation

Ant Design Pro

This project is initialized with Ant Design Pro. Follow is the quick guide for how to use.

Environment Prepare

Install node_modules:

npm install

or

yarn

Provided Scripts

Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.

Scripts provided in package.json. It's safe to modify or add additional script:

Start project

npm start

Build project

npm run build

Check code style

npm run lint

You can also use script to auto fix some lint error:

npm run lint:fix

Test code

npm test

More

You can view full document on our official website. And welcome any feedback in our github.

About

ant design 使用 react-pdf viewer的示例,自定义了toolbar的实现,支持可以安权限显示相应的操作按钮,比如没有下载权限不显示下载按钮

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published