daniel-norris / neu_ui

Prototype and build projects faster using Neu UI - an open source React component library designed to neumorphic style. Built using React, Styled Components, Jest and Storybook.
https://ui-neu.netlify.app/
MIT License
24 stars 31 forks source link

Added ListGroup Component. #88

Closed sprakash57 closed 3 years ago

sprakash57 commented 3 years ago

Let me know if you want any improvements. Here what I have done -

sprakash57 commented 3 years ago

@daniel-norris That's a miss from my side. I apologize for that. Here is the list of changes which I have done -

  1. Fixed styling for horizontal lists.
  2. Now you can pass props from ListGroup to ListItem
  3. ListItem is setting border attributes on the basis of horizontal props.
  4. I have achieved this using React.cloneElement. NO state has been introduced inside ListItem or ListGroup.

Let me know if you feel something can be improved further.

daniel-norris commented 3 years ago

Nice, I didn't know you could do that. You learn something new every day!