File

src/app/components/use-button/use-button.ts

Description

An interface representing the details of the button

Index

Properties

Properties

icon
icon: string
Type : string
Optional

Icon name of the icon to be displayed on the button

route
route: string
Type : string
Optional

Route for the page to redirect to when button is clicked

text
text: string
Type : string

Label on the button

url
url: string
Type : string
Optional

URL for the page to redirect to when button is clicked

export interface UseButton {
  /** Label on the button */
  text: string;
  /** URL for the page to redirect to when button is clicked */
  url?: string;
  /** Route for the page to redirect to when button is clicked */
  route?: string;
  /** Icon name of the icon to be displayed on the button */
  icon?: string;
}

results matching ""

    No results matching ""