ECellNitrr / teesco-website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

group role UI card

naveennvrgup opened this issue · comments

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

I am working on this issue

@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?