Typescript type for Match props passed to children
akornatskyy opened this issue · comments
Andriy Kornatskyy commented
Something like the following would help:
export type MatchChildrenProps = {
matches: boolean;
url: string;
path: string;
}