Socket
Book a DemoInstallSign in
Socket

dp-common-ui

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dp-common-ui

Common UI components.

latest
npmnpm
Version
1.0.22
Version published
Maintainers
2
Created
Source

common-ui

Components Design

为了更好进行的组件库的设计和开发,在开发之前将组件库的设计,包括组件的使用方式,传入参数等罗列在这里。

  • Button
<Button primary fixed disabled ></Button>
PropsTypeDefault
primarybooleanfalse
fixedbooleanfalse
disabledbooleanfalse
  • Tabs
<TabList onTabClick={onTabClick}>
  <Tab value='foo'>Foo</Tab>
  <Tab value='bar'>Bar</Tab>
</TabList>

Tabs

PropsTypeDefault
onTabClickfunctionnull
valuestringname of first tab

Tab

PropsTypeDefault
namestringnull
  • Drawer Drawer是一个自适应子组件的底部上拉组件。
<Drawer open={true} onClose={() => console.log(123)}>
  <div>123</div>
</Drawer>

Drawer

PropsTypeDefault
openbooleanfalse
onClosefunctionnull

FAQs

Package last updated on 29 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts