UNPKG
@rainliu/y-ui
Version:
latest (2.0.0)
2.0.0
1.0.0
# @rainliu/y-ui > 一款基于 React 的现代化 UI 组件库,提供优雅、简洁且易于使用的组件,助力快速开发高质量的 Web 应用。
@rainliu/y-ui
/
dist
/
lib
/
button
/
index.d.ts
13 lines
(10 loc)
•
276 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
React
from
'react'
;
interface
ButtonProps
{
children
:
React
.
ReactNode
;
onClick
?:
() =>
void
;
type
?:
'primary'
|
'default'
;
disabled
?:
boolean
;
className
?:
string
; }
declare
const
Button
:
React
.
FC
<
ButtonProps
>;
export
{
Button
,
type
ButtonProps
};