Replace panel tileKey with a direct color prop.
Drop theme panelTiles keys and the ArticleView update callback wiring.
This commit is contained in:
@@ -29,7 +29,7 @@ export default class ArticleViewStock extends Component {
|
||||
render() {
|
||||
const { article: articleData } = this.props;
|
||||
return (
|
||||
<PanelTile wide={1} minHeight={SECOND_ROW_MIN_HEIGHT}>
|
||||
<PanelTile wide={1} minHeight={SECOND_ROW_MIN_HEIGHT} color="#bbf7d0">
|
||||
<PanelValue>
|
||||
{articleData.stock != null ? formatStock(articleData.stock) : null}
|
||||
</PanelValue>
|
||||
|
||||
Reference in New Issue
Block a user