1
0
Fork 0

refactor: The Draft component is renamed to Render. Draft is deprecated

This commit is contained in:
Joost De Cock 2019-11-01 17:34:54 +01:00
parent 7bc22909b7
commit 1af55d9e22
24 changed files with 8 additions and 6 deletions

View file

@ -16,13 +16,11 @@ const Blockquote = props => {
Blockquote.propTypes = {
type: PropTypes.string.isRequired,
children: PropTypes.node,
style: PropTypes.object
children: PropTypes.node
}
Blockquote.defaultProps = {
type: 'note',
children: null,
style: {}
children: null
}
export default Blockquote

View file

@ -0,0 +1 @@
Render/

View file

@ -48,7 +48,7 @@ const Footer = props => {
))}
</p>
<p data-test="text">
<FormattedHTMLMessage id="app.txt-footer" />
<FormattedHTMLMessage id="app.txt-footer" />:
</p>
{props.patrons}
<div style={styles.container}>
@ -70,7 +70,9 @@ const Footer = props => {
)
})}
</div>
<p className="version">{version}</p>
<p className="version">
<a href={'https://github.com/freesewing/freesewing/releases/tag/v' + version}>v{version}</a>
</p>
</footer>
)
}

View file

@ -10,6 +10,7 @@ export default [
'Logo',
'Navbar',
'Ogol',
'Render',
'Robot',
'Spinner',
'SampleConfigurator',