Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/react-button

Package Overview
Dependencies
Maintainers
2
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-button - npm Package Compare versions

Comparing version 4.21.28 to 4.22.0

8

cjs/index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc