Update handling of divider color.

This commit is contained in:
Jim Myers 2019-03-12 11:25:56 -04:00
parent e3ee0fd590
commit 5010dfd2ef
2 changed files with 3 additions and 4 deletions

View File

@ -193,9 +193,6 @@
alternating: true,
alternatingColors: "#eeeeee",
dividers: false
// style: {
// padding: "5px 10px"
// }
},
title: {
text: "Top Coins",

View File

@ -300,7 +300,9 @@ export default class MultiTable extends Component<Props, State> {
<td
class={`fs-multi-${col}`}
style={{
borderBottom: `1px solid ${props.rows.dividersColor}`,
borderBottom: props.rows.dividers
? `1px solid ${props.rows.dividersColor}`
: null,
...props.rows.style
}}
>