File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
2
import styled from 'styled-components'
3
3
import { Alert } from 'antd'
4
+ import Markdown from './Markdown'
4
5
5
6
const Container = styled . div ( {
6
- width : '100%'
7
+ width : '100%' ,
8
+ marginTop : '16px'
7
9
} )
8
10
9
11
export const AppNameWarning = ( ) => (
10
12
< Container >
11
13
< Alert
12
- message = "Don't forget: `RnDiffApp` is a placeholder. When upgrading, all
13
- instances of `RnDiffApp` should be `YourProjectName`, all `rndiffapp`
14
- should be `yourprojectname` etc."
14
+ message = {
15
+ < Markdown >
16
+ Keep in mind that `RnDiffApp` and `rndiffapp` are placeholders. When
17
+ upgrading, you should replace them with your actual project's name.
18
+ </ Markdown >
19
+ }
15
20
type = "info"
16
21
closable
17
22
/>
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const InlineCode = styled.em`
19
19
padding: 0.2em 0.4em;
20
20
`
21
21
22
- export default ( { forceBlock, options = { } , ...props } ) => (
22
+ export default ( { forceBlock = false , options = { } , ...props } ) => (
23
23
< Markdown
24
24
{ ...props }
25
25
options = { {
You can’t perform that action at this time.
0 commit comments