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 = { Blockquote.propTypes = {
type: PropTypes.string.isRequired, type: PropTypes.string.isRequired,
children: PropTypes.node, children: PropTypes.node
style: PropTypes.object
} }
Blockquote.defaultProps = { Blockquote.defaultProps = {
type: 'note', type: 'note',
children: null, children: null
style: {}
} }
export default Blockquote export default Blockquote

View file

@ -0,0 +1 @@
Render/

View file

@ -48,7 +48,7 @@ const Footer = props => {
))} ))}
</p> </p>
<p data-test="text"> <p data-test="text">
<FormattedHTMLMessage id="app.txt-footer" /> <FormattedHTMLMessage id="app.txt-footer" />:
</p> </p>
{props.patrons} {props.patrons}
<div style={styles.container}> <div style={styles.container}>
@ -70,7 +70,9 @@ const Footer = props => {
) )
})} })}
</div> </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> </footer>
) )
} }

View file

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