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 = {
|
||||
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
|
||||
|
|
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 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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@ export default [
|
|||
'Logo',
|
||||
'Navbar',
|
||||
'Ogol',
|
||||
'Render',
|
||||
'Robot',
|
||||
'Spinner',
|
||||
'SampleConfigurator',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue