ECellNitrr / teesco-website

Apache License 2.0
2 stars 8 forks source link

group role UI card #12

Closed naveennvrgup closed 4 years ago

naveennvrgup commented 4 years ago

Is your feature request related to a problem? Please describe. Create group role UI card image

Describe the solution you'd like

components/GroupDetail/GroupRole.js Functional component which takes in:

  1. role

components/GroupDetail/GroupRole.stories.js

  1. Initial state
  2. loading state
nikhil-chacko commented 4 years ago

I am working on this issue

pratik0204 commented 4 years ago

@naveennvrgup @Nikhil-dev13 I think we can have 4 states here. 1.Initial 2.Group state 3.Loading 3.Member state

The initial state can be "No roles to display, please select a group" Group state can be " Role of the group " Member State can be " Member info"

As the same component will serve two purpose here, so should we break this down to 2 more component for group and member respectively or write the logic here itself?