Dashboard sipadu mbip
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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 DropdownItemProps {
  9. active?: boolean;
  10. disabled?: boolean;
  11. eventKey?: string;
  12. href?: string;
  13. onClick?: React.MouseEventHandler<this>;
  14. onSelect?: SelectCallback;
  15. }
  16. declare class DropdownItem<
  17. // Need to use BsPrefixComponentClass to get proper type checking.
  18. As extends React.ElementType = BsPrefixComponentClass<'a', SafeAnchorProps>
  19. > extends BsPrefixComponent<As, DropdownItemProps> {}
  20. export default DropdownItem;