VovanR / react-multiselect-two-sides

React multiselect two sides component
https://vovanr.github.io/react-multiselect-two-sides
MIT License
15 stars 11 forks source link

MutiSelect Not Displaying Properly #30

Open mmersinger opened 6 years ago

mmersinger commented 6 years ago

Attempting to use your Two-Sided MultiSelect by following your example in a react app. The component works functionally, but does not display as in your example.

image

I have included both style.css files as you have, but as you can see from the image, the styling is not working.

I am using the same return statement as you have in the example except for the settings. <MultiselectTwoSides className="msts_theme_example" availableHeader="Available" availableFooter={Available: ${availableCount}} selectedHeader="Selected" selectedFooter={Selected: ${selectedCount}} placeholder="Filter…" options={options} highlight={highlight} value={value} onChange={this.handleChange} />

Is there something missing? Does this component actually work?

I attempted to clone your repository and run the example, but it does not seem to render at all.

VovanR commented 6 years ago

@mmersinger Component unstyled by default. You can use styles.css that distributed with package. Or styles from example example/styles.css. I can add builded example theme to package if you need it.

VovanR commented 6 years ago

duplecates #21