Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wangjin-front-end
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
张媛
wangjin-front-end
Commits
e069b555
Commit
e069b555
authored
Jul 05, 2021
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3aaa3cad
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
0 deletions
+23
-0
danmaCtrl.js
src/components/danma/danmaCtrl.js
+0
-0
danmaItem.jsx
src/components/danma/danmaItem.jsx
+0
-0
danmaItem.less
src/components/danma/danmaItem.less
+0
-0
danmaShowView.jsx
src/components/danma/danmaShowView.jsx
+0
-0
danmaShowView.less
src/components/danma/danmaShowView.less
+0
-0
danma..stories.tsx
src/stories/danma..stories.tsx
+23
-0
No files found.
src/
storie
s/danma/danmaCtrl.js
→
src/
component
s/danma/danmaCtrl.js
View file @
e069b555
File moved
src/
storie
s/danma/danmaItem.jsx
→
src/
component
s/danma/danmaItem.jsx
View file @
e069b555
File moved
src/
storie
s/danma/danmaItem.less
→
src/
component
s/danma/danmaItem.less
View file @
e069b555
File moved
src/
storie
s/danma/danmaShowView.jsx
→
src/
component
s/danma/danmaShowView.jsx
View file @
e069b555
File moved
src/
storie
s/danma/danmaShowView.less
→
src/
component
s/danma/danmaShowView.less
View file @
e069b555
File moved
src/stories/danma..stories.tsx
0 → 100644
View file @
e069b555
import
React
from
'react'
;
import
{
TestSpan
}
from
"../components/testSpan/testSpan"
;
export
default
{
component
:
TestSpan
,
title
:
'Components/TestSpan'
,
};
//👇 We create a “template” of how args map to rendering
const
Template
=
(
args
)
=>
<
TestSpan
{
...
args
}
/>;
//👇 Each story then reuses that template
export
const
Primary
=
Template
.
bind
({});
Primary
.
args
=
{
primary
:
false
,
label
:
'TestSpan31'
,
};
export
const
Default
=
Template
.
bind
({});
Default
.
args
=
{
primary
:
false
,
label
:
'TestSpan-Default2'
,
};
\ 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