mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
Changed type for border prop on button and Card. Bool => Number (#29407)
* Changed type for border prop * Upped the version
This commit is contained in:
committed by
Wesley Wigham
parent
b0d78c1490
commit
1e7ac42aa3
6
types/rebass/index.d.ts
vendored
6
types/rebass/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Rebass 0.3.6
|
||||
// Type definitions for Rebass 0.3.7
|
||||
// Project: https://github.com/jxnblk/rebass
|
||||
// Definitions by: rhysd <https://rhysd.github.io>
|
||||
// ryee-dev <https://github.com/ryee-dev>
|
||||
@@ -38,7 +38,7 @@ export declare const Box: BoxClass;
|
||||
|
||||
export interface ButtonProps extends BaseProps<ButtonClass> {
|
||||
fontWeight?: string;
|
||||
border?: boolean;
|
||||
border?: number;
|
||||
borderColor?: string;
|
||||
borderRadius?: number;
|
||||
variant?: string;
|
||||
@@ -49,7 +49,7 @@ type ButtonClass = React.StatelessComponent<ButtonProps>;
|
||||
export declare const Button: ButtonClass;
|
||||
|
||||
export interface CardProps extends BaseProps<CardClass> {
|
||||
border?: boolean;
|
||||
border?: number;
|
||||
borderColor?: string;
|
||||
borderRadius?: number;
|
||||
boxShadow?: string;
|
||||
|
||||
Reference in New Issue
Block a user