react-click-to-select
A React component that selects the text / elements contained within when they're clicked.
install
npm install --save @mapbox/react-click-to-select
use
<ClickToSelect>this text will be selected when clicked</ClickToSelect>
react component that enables click-to-select interaction
A React component that selects the text / elements contained within when they're clicked.
npm install --save @mapbox/react-click-to-select
<ClickToSelect>this text will be selected when clicked</ClickToSelect>
react component that enables click-to-select interaction
ISC License