Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAMOSIotView
Project
Project
Details
Activity
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
iot
YeeAMOSIotView
Commits
d9d71884
Commit
d9d71884
authored
Feb 08, 2022
by
田功镭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)modify docs
parent
4c5dd8bd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
107 deletions
+0
-107
index.js
docs/button/index.js
+0
-86
doc.html
docs/doc.html
+0
-17
webpack.config.js
docs/webpack.config.js
+0
-0
webpack.config.js
webpack.config.js
+0
-4
No files found.
docs/button/index.js
deleted
100644 → 0
View file @
4c5dd8bd
/**
* @title 按钮类型
*/
import
{
Button
}
from
'amos-framework'
;
const
ButtonType
=
()
=>
{
return
(
<
div
>
<
Button
>
默认
<
/Button
>
<
Button
type
=
"minor"
>
次要
<
/Button
>
<
/div
>
);
};
/**
* @title 按钮尺寸
*/
import
{
Button
}
from
'amos-framework'
;
const
ButtonSize
=
()
=>
{
return
(
<
div
>
<
Button
size
=
"lg"
>
大尺寸
<
/Button
>
<
Button
>
默认
<
/Button
>
<
Button
size
=
"sm"
>
小尺寸
<
/Button
>
<
/div
>
);
};
/**
* @title 图标按钮
* @desc 如果需要自定义图标位置,结合使用 Icon 组件
*/
import
{
Button
}
from
'amos-framework'
;
const
ButtonIcon
=
()
=>
{
return
(
<
div
>
<
Button
icon
=
"plus"
>
添加
<
/Button
>
<
Button
icon
=
"align-left"
/>
<
/div
>
);
};
/**
* @title 圆形按钮
*/
import
{
Button
}
from
'amos-framework'
;
const
ButtonCircle
=
()
=>
{
return
(
<
div
>
<
Button
icon
=
"plus"
circle
/>
<
Button
circle
>
赞
<
/Button
>
<
/div
>
);
};
/**
* @title transparent
* @desc 文字颜色继承父级,背景透明
*/
import
{
Button
}
from
'amos-framework'
;
const
ButtonTransparent
=
()
=>
{
return
(
<
div
>
<
Button
icon
=
"plus"
transparent
/>
<
Button
icon
=
"align-left"
transparent
/>
<
/div
>
);
};
/**
* @title 不可用的
*/
import
{
Button
}
from
'amos-framework'
;
const
ButtonDisabled
=
()
=>
{
return
(
<
div
>
<
Button
disabled
>
不可用
<
/Button
>
<
Button
icon
=
"plus"
disabled
/>
<
/div
>
);
};
docs/doc.html
deleted
100644 → 0
View file @
4c5dd8bd
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
amos-framework docs
</title>
</head>
<body>
<div
id=
"app"
></div>
</body>
</html>
docs/webpack.config.js
deleted
100644 → 0
View file @
4c5dd8bd
webpack.config.js
View file @
d9d71884
...
...
@@ -16,10 +16,6 @@ const __ENV__ = tools.trim(process.env.NODE_ENV);
// 👻可修改
// ------------------------------------------------------
const
alias
=
{
MODEL
:
__dirname
+
'/src/model'
,
UTILS
:
__dirname
+
'/src/utils'
,
CONSTS
:
__dirname
+
'/src/consts'
,
_MOCK
:
__dirname
+
'/src/_mock'
};
// ------------------------------------
...
...
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