Props for LinkTo component.

interface Props {
    href: string | IHrefProps;
    icon?: string | Partial<Icon.Props> & Pick<Icon.Props, "icon">;
    label?: ReactNode;
    cx?: ArgumentArray;
    disabled?: boolean;
    withLocale?: boolean;
}

Hierarchy

Properties

href: string | IHrefProps

Link to generate.

icon?: string | Partial<Icon.Props> & Pick<Icon.Props, "icon">

Icon or icon props (Icon.Props.

label?: ReactNode

Label to display.

cx?: ArgumentArray

If you need to customize style of a component, pass a class names here.

disabled?: boolean

Disabled renders only children without a link.

withLocale?: boolean

True - use current locale, false - without a locale.