refactor: The Draft component is renamed to Render. Draft is deprecated
This commit is contained in:
parent
7bc22909b7
commit
1af55d9e22
24 changed files with 8 additions and 6 deletions
|
@ -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
|
||||||
|
|
1
packages/components/src/Draft
Symbolic link
1
packages/components/src/Draft
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
Render/
|
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@ export default [
|
||||||
'Logo',
|
'Logo',
|
||||||
'Navbar',
|
'Navbar',
|
||||||
'Ogol',
|
'Ogol',
|
||||||
|
'Render',
|
||||||
'Robot',
|
'Robot',
|
||||||
'Spinner',
|
'Spinner',
|
||||||
'SampleConfigurator',
|
'SampleConfigurator',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue