Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Anchor link "to" prop should be of LocationDescriptor | string Type #63

Open
AdityaVandan opened this issue Jun 2, 2021 · 1 comment
Labels
component invalid This doesn't seem right

Comments

@AdityaVandan
Copy link
Contributor

it will add functionality of adding state in location while routing from Anchorlink

@AdityaVandan AdityaVandan changed the title Anchor link "to" prop should be of LocationDescriptor Type Anchor link "to" prop should be of LocationDescriptor | string Type Jun 2, 2021
@AdityaVandan AdityaVandan added the invalid This doesn't seem right label Jun 2, 2021
@StTronn
Copy link
Contributor

StTronn commented Jun 12, 2021

This seems legit. attaching type for reference.
Is the pr created. If not I will create one

export type LocationDescriptorObject = {
    pathname?: Pathname; 
    search?: Search;
    query?: Query;
    state?: LocationState;
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants