@wazespace/wme-react-components
Version:
A package with useful replications of the Waze Map Editor components to use in userscripts
15 lines • 470 B
TypeScript
import { ReactNode } from 'react';
export type WzButtonVariant = 'primary' | 'secondary' | 'text' | 'shadowed' | 'clear-icon';
export type WzButtonSize = 'xs' | 'sm' | 'md' | 'lg';
export interface WzButtonProps {
children: ReactNode;
disabled?: boolean;
busy?: boolean;
color?: WzButtonVariant;
size?: WzButtonSize;
alarming?: boolean;
type?: 'button' | 'submit';
name?: string;
value?: string;
}
//# sourceMappingURL=Button.d.ts.map