-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathvscode-button-group.html
More file actions
61 lines (56 loc) · 1.77 KB
/
vscode-button-group.html
File metadata and controls
61 lines (56 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><vscode-button-group> Demo</title>
<link
rel="stylesheet"
href="../node_modules/@vscode/codicons/dist/codicon.css"
id="vscode-codicon-stylesheet"
>
<script
type="module"
src="/node_modules/@vscode-elements/webview-playground/dist/index.js"
></script>
<script type="module" src="../dist/vscode-button/index.js"></script>
<script type="module" src="../dist/vscode-button-group/index.js"></script>
</head>
<body class="vscode-light">
<main>
<h2>Basic example</h2>
<vscode-demo>
<p>
<vscode-button-group>
<vscode-button secondary id="button-1">Hello World</vscode-button>
<vscode-button
secondary
icon="chevron-down"
id="button-2"
></vscode-button>
</vscode-button-group>
</p>
<p>
<vscode-button-group>
<vscode-button secondary>Left</vscode-button>
<vscode-button secondary icon="arrow-swap"></vscode-button>
<vscode-button secondary>Right</vscode-button>
</vscode-button-group>
</p>
<p>
<vscode-button-group>
<vscode-button>Left</vscode-button>
<vscode-button icon="arrow-swap"></vscode-button>
<vscode-button>Right</vscode-button>
</vscode-button-group>
</p>
<p>
<vscode-button-group>
<vscode-button>Primary</vscode-button>
<vscode-button secondary>Secondary</vscode-button>
</vscode-button-group>
</p>
</vscode-demo>
</main>
</body>
</html>