@jouwomgeving/jo-card
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -18,2 +18,3 @@ import React from 'react'; | ||
const Default = enhance(({ | ||
actions, | ||
background, | ||
@@ -33,3 +34,8 @@ children, | ||
background, | ||
React.createElement(Header, { icon: icon, subTitle: subTitle, title: title }), | ||
React.createElement(Header, { | ||
actions: actions, | ||
icon: icon, | ||
subTitle: subTitle, | ||
title: title | ||
}), | ||
typeof progress === 'number' ? React.createElement( | ||
@@ -82,7 +88,8 @@ Row, | ||
Default.propTypes = { | ||
actions: PropTypes.any, | ||
background: PropTypes.object, | ||
children: PropTypes.any, | ||
comments: PropTypes.any, | ||
icon: PropTypes.any, | ||
comments: PropTypes.any, | ||
progress: PropTypes.number, | ||
children: PropTypes.any, | ||
subTitle: PropTypes.string, | ||
@@ -89,0 +96,0 @@ title: PropTypes.string |
@@ -60,3 +60,4 @@ 'use strict'; | ||
var Default = enhance(function (_ref) { | ||
var background = _ref.background, | ||
var actions = _ref.actions, | ||
background = _ref.background, | ||
children = _ref.children, | ||
@@ -75,3 +76,8 @@ comments = _ref.comments, | ||
background, | ||
_react2.default.createElement(_Header2.default, { icon: icon, subTitle: subTitle, title: title }), | ||
_react2.default.createElement(_Header2.default, { | ||
actions: actions, | ||
icon: icon, | ||
subTitle: subTitle, | ||
title: title | ||
}), | ||
typeof progress === 'number' ? _react2.default.createElement( | ||
@@ -125,7 +131,8 @@ _Row2.default, | ||
Default.propTypes = { | ||
actions: _propTypes2.default.any, | ||
background: _propTypes2.default.object, | ||
children: _propTypes2.default.any, | ||
comments: _propTypes2.default.any, | ||
icon: _propTypes2.default.any, | ||
comments: _propTypes2.default.any, | ||
progress: _propTypes2.default.number, | ||
children: _propTypes2.default.any, | ||
subTitle: _propTypes2.default.string, | ||
@@ -132,0 +139,0 @@ title: _propTypes2.default.string |
{ | ||
"name": "@jouwomgeving/jo-card", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Dictator package Jouw Omgeving card.", | ||
@@ -5,0 +5,0 @@ "dictator": [ |
@@ -16,2 +16,3 @@ import React from 'react'; | ||
<Card | ||
actions={<P>Laatst opgeslagen om 23:50</P>} | ||
background={object('Background', { | ||
@@ -18,0 +19,0 @@ color: 'floralwhite', |
@@ -19,2 +19,3 @@ import React from 'react'; | ||
({ | ||
actions, | ||
background, | ||
@@ -31,3 +32,8 @@ children, | ||
<Background {...background}> | ||
<Header icon={icon} subTitle={subTitle} title={title} /> | ||
<Header | ||
actions={actions} | ||
icon={icon} | ||
subTitle={subTitle} | ||
title={title} | ||
/> | ||
{typeof progress === 'number' | ||
@@ -70,7 +76,8 @@ ? <Row> | ||
Default.propTypes = { | ||
actions: PropTypes.any, | ||
background: PropTypes.object, | ||
children: PropTypes.any, | ||
comments: PropTypes.any, | ||
icon: PropTypes.any, | ||
comments: PropTypes.any, | ||
progress: PropTypes.number, | ||
children: PropTypes.any, | ||
subTitle: PropTypes.string, | ||
@@ -77,0 +84,0 @@ title: PropTypes.string, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38004
921
0