Update API report
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -3,10 +3,8 @@ import { create } from '@storybook/theming';
|
||||
|
||||
const theme = create({
|
||||
base: 'light',
|
||||
brandTitle: 'My custom Storybook',
|
||||
brandUrl: 'https://example.com',
|
||||
brandTitle: 'Canon',
|
||||
brandImage: 'logo.svg',
|
||||
brandTarget: '_self',
|
||||
});
|
||||
|
||||
addons.setConfig({
|
||||
|
||||
@@ -115,15 +115,9 @@ export const breakpoints: {
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const Button: ({
|
||||
size,
|
||||
variant,
|
||||
children,
|
||||
disabled,
|
||||
iconStart,
|
||||
iconEnd,
|
||||
...props
|
||||
}: ButtonProps) => React_2.JSX.Element;
|
||||
export const Button: React_2.ForwardRefExoticComponent<
|
||||
ButtonProps & React_2.RefAttributes<HTMLButtonElement>
|
||||
>;
|
||||
|
||||
// @public
|
||||
export interface ButtonProps {
|
||||
@@ -138,7 +132,7 @@ export interface ButtonProps {
|
||||
// (undocumented)
|
||||
size?: 'small' | 'medium';
|
||||
// (undocumented)
|
||||
variant?: 'primary' | 'secondary';
|
||||
variant?: 'primary' | 'secondary' | 'tertiary';
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -191,6 +185,14 @@ export type IconNames =
|
||||
| 'arrowLeft'
|
||||
| 'arrowRight'
|
||||
| 'arrowUp'
|
||||
| 'arrowDownCircle'
|
||||
| 'arrowLeftCircle'
|
||||
| 'arrowRightCircle'
|
||||
| 'arrowUpCircle'
|
||||
| 'chevronDown'
|
||||
| 'chevronLeft'
|
||||
| 'chevronRight'
|
||||
| 'chevronUp'
|
||||
| 'cloud'
|
||||
| 'heart'
|
||||
| 'plus'
|
||||
@@ -264,13 +266,13 @@ export type Space = keyof typeof space;
|
||||
// @public (undocumented)
|
||||
export const space: {
|
||||
none: number;
|
||||
xxs: string;
|
||||
'2xs': string;
|
||||
xs: string;
|
||||
sm: string;
|
||||
md: string;
|
||||
lg: string;
|
||||
xl: string;
|
||||
xxl: string;
|
||||
'2xl': string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
Reference in New Issue
Block a user