another controlled state hook
npm install ucs> another controlled state hook

``bash`
npm install ucs
`jsx
import React from "react";
import useControlledState from "ucs";
const Toggler = ({ value, onChange, defaultValue }) => {
const [state, setState] = useControlledState(() => value || defaultValue);
return (
);
};
``
MIT © jeetiss