@myinterview/component-library
Advanced tools
Comparing version 1.0.31-beta-62421ad7a21bc83c4a75737f7e8b238ef94c5f49 to 1.0.32-beta-8cd7555
import React from 'react'; | ||
import './button.scss'; | ||
import { IColors, IBackgroundColors, ISizes } from '../../interfaces/variables'; | ||
export interface IClassicButton extends React.ButtonHTMLAttributes<HTMLButtonElement> { | ||
export interface IButton extends React.ButtonHTMLAttributes<HTMLButtonElement> { | ||
children: React.ReactChild; | ||
@@ -10,2 +10,2 @@ size?: ISizes; | ||
} | ||
export declare const Button: ({ children, size, onClick, color, backgroundColor, ...attributes }: IClassicButton) => JSX.Element; | ||
export declare const Button: React.ForwardRefExoticComponent<IButton & React.RefAttributes<HTMLButtonElement>>; |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import React from 'react'; | ||
import { ComponentStory, ComponentMeta } from '@storybook/react'; | ||
declare const _default: ComponentMeta<({ children, size, onClick, color, backgroundColor, ...attributes }: import("./Button").IClassicButton) => JSX.Element>; | ||
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Button").IButton & React.RefAttributes<HTMLButtonElement>>>; | ||
export default _default; | ||
export declare const ButtonPrimary: ComponentStory<({ children, size, onClick, color, backgroundColor, ...attributes }: import("./Button").IClassicButton) => JSX.Element>; | ||
export declare const ButtonPrimary: ComponentStory<React.ForwardRefExoticComponent<import("./Button").IButton & React.RefAttributes<HTMLButtonElement>>>; |
{ | ||
"name": "@myinterview/component-library", | ||
"version": "1.0.31-beta-62421ad7a21bc83c4a75737f7e8b238ef94c5f49", | ||
"version": "1.0.32-beta-8cd7555", | ||
"description": "", | ||
@@ -10,2 +10,3 @@ "type": "module", | ||
"build-storybook": "build-storybook", | ||
"build-library": "rollup -c", | ||
"publish-prod": "rollup -c && npm publish", | ||
@@ -12,0 +13,0 @@ "publish-staging": "rollup -c && npm publish --tag beta", |
Sorry, the diff of this file is too big to display
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
441586