https://github.com/reactabular/react-visibility-toggles has the basic setup. That would need to be copied over.