Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sparkweb
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
sparkweb
Commits
3ab5eac0
Commit
3ab5eac0
authored
Jun 04, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9922d9ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
23 deletions
+10
-23
App.css
src/App.css
+2
-0
App.tsx
src/App.tsx
+8
-23
No files found.
src/App.css
View file @
3ab5eac0
@import
'~antd/dist/antd.css'
;
.App
{
text-align
:
center
;
}
...
...
src/App.tsx
View file @
3ab5eac0
import
React
from
'react
'
;
import
logo
from
'./logo.svg
'
;
import
{
Button
}
from
'antd
'
;
import
React
,
{
FC
}
from
'react
'
;
import
'./App.css'
;
function
App
()
{
return
(
<
div
className=
"App"
>
<
header
className=
"App-header"
>
<
img
src=
{
logo
}
className=
"App-logo"
alt=
"logo"
/>
<
p
>
Edit
<
code
>
src/App.tsx
</
code
>
and save to reload.
</
p
>
<
a
className=
"App-link"
href=
"https://reactjs.org"
target=
"_blank"
rel=
"noopener noreferrer"
>
Learn React
</
a
>
</
header
>
</
div
>
);
}
const
App
:
FC
=
()
=>
(
<
div
className=
"App"
>
<
Button
type=
"primary"
>
Click Me!
</
Button
>
</
div
>
);
export
default
App
;
export
default
App
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment