PathPattern
react-router

PathPattern interface

A PathPattern is used to match on some portion of a URL pathname.

Properties

caseSensitive

Type: boolean

Should be true if the static portions of the path should be matched in the same case.

end

Type: boolean

Should be true if this pattern should match the entire URL pathname.

path

Type: Path

A string to match against a URL pathname. May contain :id-style segments to indicate placeholders for dynamic parameters. May also end with /* to indicate matching the rest of the URL pathname.

Docs and examples CC 4.0