@globis/player
Version:
GLOBIS React Video Player.
71 lines (70 loc) • 1.69 kB
TypeScript
import React, { MouseEventHandler } from 'react';
export declare type Props = {
bgColor?: 'cta' | 'primary' | 'transparent';
block?: boolean;
className?: string;
disabled?: boolean;
onClick?: MouseEventHandler<HTMLButtonElement>;
size?: 'normal' | 'small' | 'large';
type?: 'button' | 'submit';
};
export declare const Button: import("styled-components").StyledComponent<React.FC<Props>, {
colors: {
black: string;
blue: string;
danger: string;
globisBlue: string;
matBlack: string;
mediumGray: string;
white: string;
};
colorPallets: {
primary: {
normal: string;
hover: string;
disable: string;
};
cta: {
normal: string;
hover: string;
disable: string;
};
success: {
normal: string;
background: string;
};
error: {
normal: string;
background: string;
};
caution: {
normal: string;
background: string;
};
mono: {
black: string;
textGray: string;
line: string;
hover: string;
background: string;
};
};
sizes: {
borderRadius: string;
font: {
s12: string;
s14: string;
s16: string;
s24: string;
s32: string;
};
};
zIndexes: {
video: {
overlay: number;
ctrl: number;
progress: number;
progressThumb: number;
};
};
}, {}, never>;