denstyles
Version:
js styles library
17 lines (16 loc) • 443 B
TypeScript
export declare type ButtonType = {
/** Button type */
type?: 'button' | 'reset' | 'submit';
/** Button title */
title?: string;
/** Disable button */
disabled?: boolean;
/** Button on click handler */
onclick?: () => void;
/** Add your class to style button */
className?: string;
/** Add your background color */
backgroundColor?: string;
/** Add your text color */
color?: string;
};