react-click-to-select
A React component that selects the text / elements contained within when they're clicked.
install
npm install --save react-click-to-select
use
<ClickToSelect>this text will be selected when clicked</ClickToSelect>
This module is now under the @mapbox namespace: install @mapbox/react-click-to-select instead
a higher-order component that selects elements contained within it on click
A React component that selects the text / elements contained within when they're clicked.
npm install --save react-click-to-select
<ClickToSelect>this text will be selected when clicked</ClickToSelect>