2.1.8 • Published 6 months ago

@types/react-breadcrumbs v2.1.8

Weekly downloads
358
License
MIT
Repository
github
Last release
6 months ago

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

Credits

These definitions were written by Guo Yunhe, and Kohei Matsubara.

2.1.6

8 months ago

2.1.8

6 months ago

2.1.7

7 months ago

2.1.5

2 years ago

2.1.4

2 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

4 years ago

2.1.0

6 years ago

1.3.11

6 years ago

1.3.10

6 years ago

1.3.9

6 years ago

1.3.8

7 years ago

1.3.7

7 years ago

1.3.6

7 years ago

1.3.5

7 years ago

1.3.4

7 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago