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
3ae15b00
Commit
3ae15b00
authored
Jul 20, 2021
by
张媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
af7aa3e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
carousel.stories.tsx
src/canvasCom/carouselCom/carousel.stories.tsx
+2
-2
TotalCom.stories.tsx
src/docs/TotalCom.stories.tsx
+2
-4
No files found.
src/canvasCom/carouselCom/carousel.stories.tsx
View file @
3ae15b00
...
...
@@ -56,8 +56,8 @@ export default {
const
Template
=
(
args
)
=>
<
CarouselCom
{
...
args
}
/>;
//👇 Each story then reuses that template
export
const
Demo1
=
Template
.
bind
({});
Demo1
.
args
=
{
export
const
Primary
=
Template
.
bind
({});
Primary
.
args
=
{
primary
:
true
,
label
:
'金币动效'
,
carouselItem
:
carouselItem
,
...
...
src/docs/TotalCom.stories.tsx
View file @
3ae15b00
...
...
@@ -9,14 +9,12 @@ import {
PRIMARY_STORY
,
}
from
'@storybook/addon-docs'
;
window
.
addEventListener
(
"hashchange"
,
(
e
)
=>
{
console
.
log
(
e
)
});
export
default
{
component
:
TotalCom
,
title
:
'组件概览'
,
parameters
:{
layout
:
"
fullscreen
"
,
layout
:
"
padded
"
,
docs
:
{
page
:
()
=>
{
clearStage
();
...
...
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