Type Alias ButtonProps

ButtonProps: MuiButtonProps & {
    Icon?: IconProps | IconName;
    loading?: boolean;
    loadingText?: string;
}

Type declaration

  • OptionalIcon?: IconProps | IconName

    creates an with the specified IconName or IconProps object

  • Optionalloading?: boolean

    if true, displays a loading spinner inside the button.

  • OptionalloadingText?: string

    text to display when the button is in a loading state.