@storybook/html
Advanced tools
Comparing version 0.0.0-pr-28882-sha-e607100a to 0.0.0-pr-28920-sha-480f404a
{ | ||
"name": "@storybook/html", | ||
"version": "0.0.0-pr-28882-sha-e607100a", | ||
"version": "0.0.0-pr-28920-sha-480f404a", | ||
"description": "Storybook HTML renderer", | ||
@@ -50,7 +50,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@storybook/components": "^0.0.0-pr-28882-sha-e607100a", | ||
"@storybook/components": "^0.0.0-pr-28920-sha-480f404a", | ||
"@storybook/global": "^5.0.0", | ||
"@storybook/manager-api": "^0.0.0-pr-28882-sha-e607100a", | ||
"@storybook/preview-api": "^0.0.0-pr-28882-sha-e607100a", | ||
"@storybook/theming": "^0.0.0-pr-28882-sha-e607100a", | ||
"@storybook/manager-api": "^0.0.0-pr-28920-sha-480f404a", | ||
"@storybook/preview-api": "^0.0.0-pr-28920-sha-480f404a", | ||
"@storybook/theming": "^0.0.0-pr-28920-sha-480f404a", | ||
"ts-dedent": "^2.0.0" | ||
@@ -62,3 +62,3 @@ }, | ||
"peerDependencies": { | ||
"storybook": "^0.0.0-pr-28882-sha-e607100a" | ||
"storybook": "^0.0.0-pr-28920-sha-480f404a" | ||
}, | ||
@@ -65,0 +65,0 @@ "engines": { |
import './button.css'; | ||
export interface ButtonProps { | ||
/** | ||
* Is this the principal call to action on the page? | ||
*/ | ||
/** Is this the principal call to action on the page? */ | ||
primary?: boolean; | ||
/** | ||
* What background color to use | ||
*/ | ||
/** What background color to use */ | ||
backgroundColor?: string; | ||
/** | ||
* How large should the button be? | ||
*/ | ||
/** How large should the button be? */ | ||
size?: 'small' | 'medium' | 'large'; | ||
/** | ||
* Button contents | ||
*/ | ||
/** Button contents */ | ||
label: string; | ||
/** | ||
* Optional click handler | ||
*/ | ||
/** Optional click handler */ | ||
onClick?: () => void; | ||
} | ||
/** | ||
* Primary UI component for user interaction | ||
*/ | ||
/** Primary UI component for user interaction */ | ||
export const createButton = ({ | ||
@@ -30,0 +18,0 @@ primary = false, |
import './button.css'; | ||
export interface ButtonProps { | ||
/** | ||
* Is this the principal call to action on the page? | ||
*/ | ||
/** Is this the principal call to action on the page? */ | ||
primary?: boolean; | ||
/** | ||
* What background color to use | ||
*/ | ||
/** What background color to use */ | ||
backgroundColor?: string; | ||
/** | ||
* How large should the button be? | ||
*/ | ||
/** How large should the button be? */ | ||
size?: 'small' | 'medium' | 'large'; | ||
/** | ||
* Button contents | ||
*/ | ||
/** Button contents */ | ||
label: string; | ||
/** | ||
* Optional click handler | ||
*/ | ||
/** Optional click handler */ | ||
onClick?: () => void; | ||
} | ||
/** | ||
* Primary UI component for user interaction | ||
*/ | ||
/** Primary UI component for user interaction */ | ||
export const createButton = ({ | ||
@@ -30,0 +18,0 @@ primary = false, |
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
42974
980