Props for LocaleLink component.

interface Props {
    href: string | IHrefProps;
    withLocale?: boolean;
    disabled?: boolean;
    cx?: ArgumentArray;
}

Hierarchy

  • Omit<ComponentProps<typeof CoolLink>, "href">
  • WithClass
    • Props

Properties

href: string | IHrefProps

Link to generate.

withLocale?: boolean

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

disabled?: boolean

Disabled renders only children without a link.

cx?: ArgumentArray

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