import { default as React } from 'react'; import { ButtonContentProps } from '../button-content/button-content'; export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'link'; export type ButtonColor = 'default' | 'important' | 'positive' | 'inverted' | 'text-color'; export interface IInternalButtonProps { /** * Button type * @default button */ type?: 'submit' | 'button' | 'reset'; /** * Skips forms browser validation * @default true when type="submit" */ formNoValidate?: boolean; } type AllowedTags = 'button'; export type ButtonProps = ButtonContentProps; export type ButtonComponent = (props: ButtonProps) => React.ReactElement | null; /** * Renders a `