@uiw/react-button
Advanced tools
Comparing version 4.21.28 to 4.22.0
import React from 'react'; | ||
import { IconProps } from '@uiw/react-icon'; | ||
import { IconProps, IconTagType } from '@uiw/react-icon'; | ||
import { IProps, HTMLButtonProps } from '@uiw/utils'; | ||
import './style/index.less'; | ||
export declare type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'dark' | 'link'; | ||
export declare type ButtonSize = 'large' | 'default' | 'small'; | ||
export type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'dark' | 'link'; | ||
export type ButtonSize = 'large' | 'default' | 'small'; | ||
export interface ButtonProps extends IProps, Omit<HTMLButtonProps, 'size'> { | ||
@@ -13,3 +13,3 @@ basic?: boolean; | ||
block?: boolean; | ||
icon?: IconProps['type']; | ||
icon?: IconProps<IconTagType>['type']; | ||
type?: ButtonType; | ||
@@ -16,0 +16,0 @@ size?: ButtonSize; |
@@ -55,3 +55,2 @@ "use strict"; | ||
exports["default"] = _default; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=index.js.map | ||
module.exports = exports.default; |
import React from 'react'; | ||
import { IconProps } from '@uiw/react-icon'; | ||
import { IconProps, IconTagType } from '@uiw/react-icon'; | ||
import { IProps, HTMLButtonProps } from '@uiw/utils'; | ||
import './style/index.less'; | ||
export declare type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'dark' | 'link'; | ||
export declare type ButtonSize = 'large' | 'default' | 'small'; | ||
export type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'light' | 'dark' | 'link'; | ||
export type ButtonSize = 'large' | 'default' | 'small'; | ||
export interface ButtonProps extends IProps, Omit<HTMLButtonProps, 'size'> { | ||
@@ -13,3 +13,3 @@ basic?: boolean; | ||
block?: boolean; | ||
icon?: IconProps['type']; | ||
icon?: IconProps<IconTagType>['type']; | ||
type?: ButtonType; | ||
@@ -16,0 +16,0 @@ size?: ButtonSize; |
@@ -41,3 +41,2 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
})); | ||
}); | ||
//# sourceMappingURL=index.js.map | ||
}); |
{ | ||
"name": "@uiw/react-button", | ||
"version": "4.21.28", | ||
"version": "4.22.0", | ||
"description": "Button component", | ||
@@ -47,5 +47,5 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/react-icon": "^4.21.28", | ||
"@uiw/utils": "^4.21.28" | ||
"@uiw/react-icon": "^4.22.0", | ||
"@uiw/utils": "^4.22.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63755
13
1171
Updated@uiw/react-icon@^4.22.0
Updated@uiw/utils@^4.22.0