Skip to content

Commit

Permalink
fix: change styles header
Browse files Browse the repository at this point in the history
  • Loading branch information
yvmunayev committed Jul 31, 2020
1 parent 44e46b1 commit 82b0868
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/components/Table/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,11 @@ const Container = styled.div`
padding: 0 2rem;
`;

const StyledHeader = styled.div`
text-transform: capitalize;
text-align: center;
`;

const StyledPriority = styled.div`
text-transform: capitalize;
color: #ffffff;
Expand Down Expand Up @@ -1224,16 +1229,21 @@ function TableListView() {
sortedBy={sortedBy}
>
<Column header="Task" field="task" />
<Column header="Coins" field="coins" component={Coins} defaultWidth={120} />
<Column
header="Constributor"
header={<StyledHeader>Coins</StyledHeader>}
field="coins"
component={Coins}
defaultWidth={120}
/>
<Column
header={<StyledHeader>Constributor</StyledHeader>}
field="constributor"
component={Constributor}
defaultWidth={180}
sortable
/>
<Column
header="Priority"
header={<StyledHeader>Priority</StyledHeader>}
field="priority"
component={Priority}
defaultWidth={200}
Expand Down

0 comments on commit 82b0868

Please sign in to comment.