1.0.0 • Published 1 year ago

react-remove-duplicated-item v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

React package for remove duplicate item from array of string

Let say if we have this array "Meerut", "Meerut", "MZN";

then this library remove "Meerut" second item from array

and output will be "Meerut", "MZN"

How we can use this pacakage

npm install react-remove-duplicated-item

import RemoveDuplicatedItem from "react-remove-duplicated-item"

And finally use this component like below

<RemoveDuplicateItem arr = {"Meerut", "Meerut", "MZN"} />