Skip to content

bug: ToastButton interface is not updated for v8 #3993

Closed
@lmarcelocc

Description

@lmarcelocc

Describe the Bug

Property cssClass doesn't exist anymore on v8, docs are not updated.

DOCS
image

Code from here

export interface ToastButton {
  text?: string;
  icon?: string;
  side?: 'start' | 'end';
  role?: LiteralUnion<'cancel', string>;
  htmlAttributes?: { [key: string]: any };
  handler?: () => boolean | void | Promise<boolean | void>;
}

Expected Behavior

Dcoumentation should replicate the interfeca defined here

Steps to Reproduce

NA

Screenshots

No response

Operating System

No response

Browser

No response

Version

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions