-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd7d931
commit be65a95
Showing
7 changed files
with
144 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { Table } from 'semantic-ui-react' | ||
|
||
const RcUserTable = ({ userStatusList }) => { | ||
return ( | ||
<Table | ||
celled selectable | ||
textAlign={'center'}> | ||
<Table.Header> | ||
<Table.Row> | ||
<Table.HeaderCell>idx.</Table.HeaderCell> | ||
<Table.HeaderCell>이름</Table.HeaderCell> | ||
<Table.HeaderCell>이메일</Table.HeaderCell> | ||
<Table.HeaderCell>POPO 이름</Table.HeaderCell> | ||
<Table.HeaderCell>POPO 가입일</Table.HeaderCell> | ||
<Table.HeaderCell>POPO 유저타입</Table.HeaderCell> | ||
</Table.Row> | ||
</Table.Header> | ||
<Table.Body> | ||
{ | ||
userStatusList.map((userStatus, idx) => { return ( | ||
<Table.Row key={userStatus.uuid} negative={userStatus.status === 'not_registered'}> | ||
<Table.Cell>{idx + 1}</Table.Cell> | ||
<Table.Cell>{userStatus.name}</Table.Cell> | ||
<Table.Cell>{userStatus.email}</Table.Cell> | ||
<Table.Cell>{userStatus.user_name}</Table.Cell> | ||
<Table.Cell>{userStatus.created_at}</Table.Cell> | ||
<Table.Cell>{userStatus.user_type}</Table.Cell> | ||
</Table.Row> | ||
)}) | ||
} | ||
</Table.Body> | ||
</Table> | ||
) | ||
} | ||
|
||
export default RcUserTable |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters