@digibib/deichman-ui
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -1183,7 +1183,14 @@ import React, { Component, Fragment } from 'react'; | ||
var Row$1 = function Row(_ref) { | ||
var children = _ref.children; | ||
var children = _ref.children, | ||
gray = _ref.gray, | ||
white = _ref.white; | ||
var rowClass = classNames({ | ||
table__row: true, | ||
'table__row--gray': gray, | ||
'table__row--white': white | ||
}); | ||
return React.createElement( | ||
'tr', | ||
{ className: 'table__row' }, | ||
{ className: rowClass }, | ||
children | ||
@@ -1193,3 +1200,10 @@ ); | ||
Row$1.defaultProps = { | ||
gray: false, | ||
white: false | ||
}; | ||
Row$1.propTypes = { | ||
gray: PropTypes.bool, | ||
white: PropTypes.bool, | ||
children: PropTypes.node.isRequired | ||
@@ -1196,0 +1210,0 @@ }; |
@@ -1190,7 +1190,14 @@ 'use strict'; | ||
var Row$1 = function Row(_ref) { | ||
var children = _ref.children; | ||
var children = _ref.children, | ||
gray = _ref.gray, | ||
white = _ref.white; | ||
var rowClass = classNames({ | ||
table__row: true, | ||
'table__row--gray': gray, | ||
'table__row--white': white | ||
}); | ||
return React__default.createElement( | ||
'tr', | ||
{ className: 'table__row' }, | ||
{ className: rowClass }, | ||
children | ||
@@ -1200,3 +1207,10 @@ ); | ||
Row$1.defaultProps = { | ||
gray: false, | ||
white: false | ||
}; | ||
Row$1.propTypes = { | ||
gray: PropTypes.bool, | ||
white: PropTypes.bool, | ||
children: PropTypes.node.isRequired | ||
@@ -1203,0 +1217,0 @@ }; |
{ | ||
"name": "@digibib/deichman-ui", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"description": "Deichman style-guide and component library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
643259
3335