phasmophobia-companion icon indicating copy to clipboard operation
phasmophobia-companion copied to clipboard

Generalize Picker component

Open Redseb opened this issue 4 years ago • 0 comments

<Picker /> uses non-generalized terminology for its variables such as evidence and setEvidence this is confusing as there is no "evidence" for the ghost picker on the evidence page. Picker also is a large component that is quite different depending on its use (evidence or ghost)

Either separate into two components <EvidencePicker /> and <GhostPicker /> or use more general terms.

Redseb avatar Oct 18 '20 15:10 Redseb