javierbyte / React Textselect
Select dropdown over text React component. [unmaintained]
Stars: ✭ 51
Programming Languages
javascript
184084 projects - #8 most used programming language
React Text Select
UNMAINTAINED
Unmantained for now.
--
Simple component to put an invisible Select
dropdown over a text.
Installation
npm install react-textselect --save
Usage.
var TextSelect = require('react-textselect');
<TextSelect
options={['text select', 'react component', 'dropdown']}
active={this.state.selectedOption}
onChange={this.onTextSelectChange} />
Add styles.
Dont forget to add styles.
<link rel="stylesheet" href="/node_modules/react-textselect/dist/textselect.css">
Build
If you want to build this from source, you will need babel and less.
npm install -g babel less
And run the pre publish script
npm run prepublish
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].