2.1.8 • Published 2 years ago
@types/react-breadcrumbs v2.1.8
Installation
npm install --save @types/react-breadcrumbs
Summary
This package contains type definitions for react-breadcrumbs (https://github.com/svenanders/react-breadcrumbs).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-breadcrumbs.
index.d.ts
// Type definitions for react-breadcrumbs 2.1
// Project: https://github.com/svenanders/react-breadcrumbs
// Definitions by: Guo Yunhe <https://github.com/guoyunhe>
// Kohei Matsubara <https://github.com/matsuby>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from "react";
import { LocationDescriptor } from "history";
declare module "react-breadcrumbs" {
interface Crumbs {}
interface BreadcrumbsProps {
className?: string | undefined;
hidden?: boolean | undefined;
separator?: React.ReactNode | undefined;
setCrumbs?: ((crumbs: Crumbs) => React.ReactNode) | undefined;
wrapper?: React.FunctionComponent | React.ComponentClass | undefined;
}
class Breadcrumbs extends React.Component<React.PropsWithChildren<BreadcrumbsProps>> {}
interface BreadcrumbProps {
data: LocationDescriptor & { title?: React.ReactNode | undefined };
hidden?: boolean | undefined;
}
class Breadcrumb extends React.Component<React.PropsWithChildren<BreadcrumbProps>> {}
}
Additional Details
- Last updated: Wed, 11 May 2022 00:01:38 GMT
- Dependencies: @types/react, @types/history
- Global values: none
Credits
These definitions were written by Guo Yunhe, and Kohei Matsubara.
2.1.6
2 years ago
2.1.8
2 years ago
2.1.7
2 years ago
2.1.5
3 years ago
2.1.4
3 years ago
2.1.3
4 years ago
2.1.2
4 years ago
2.1.1
5 years ago
2.1.0
7 years ago
1.3.11
7 years ago
1.3.10
7 years ago
1.3.9
8 years ago
1.3.8
8 years ago
1.3.7
8 years ago
1.3.6
8 years ago
1.3.5
8 years ago
1.3.4
9 years ago
1.3.3
9 years ago
1.3.2
9 years ago
1.3.1
9 years ago