Dashboard sipadu mbip
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

NavLink.d.ts 595B

12345678910111213141516171819202122232425
  1. import * as React from 'react';
  2. import SafeAnchor, { SafeAnchorProps } from './SafeAnchor';
  3. import {
  4. BsPrefixComponent,
  5. SelectCallback,
  6. BsPrefixComponentClass,
  7. } from './helpers';
  8. export interface NavLinkProps {
  9. active?: boolean;
  10. disabled?: boolean;
  11. role?: string;
  12. href?: string;
  13. onSelect?: SelectCallback;
  14. eventKey?: unknown;
  15. }
  16. declare class NavLink<
  17. // Need to use BsPrefixComponentClass to get proper type checking.
  18. As extends React.ElementType = BsPrefixComponentClass<'a', SafeAnchorProps>
  19. > extends BsPrefixComponent<As, NavLinkProps> {}
  20. export default NavLink;