Skip to content

Commit 8327f71

Browse files
Merge pull request #24 from tw15egan/copy-fix
fix(index): export CopyButton
2 parents c1d0898 + 305c685 commit 8327f71

File tree

1 file changed

+10
-27
lines changed

1 file changed

+10
-27
lines changed

src/index.js

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import Dropdown from './components/dropdown/dropdown';
1919
import Card from './components/card/card';
2020
import NumberInput from './components/number-input/number-input';
2121
import DataTable from './components/data-table/data-table';
22-
import DetailPageHeader from './components/detail-page-header/detail-page-header';
22+
import DetailPageHeader
23+
from './components/detail-page-header/detail-page-header';
2324
import LeftNav from './components/unified-header/left-nav';
2425
import InteriorLeftNav from './components/interior-left-nav/interior-left-nav';
2526
import ProfileSwitcher from './components/unified-header/profile-switcher';
@@ -30,7 +31,8 @@ import CopyButton from './components/copy-button/copy-button';
3031
import Notification from './components/notification/notification';
3132
import Toolbar from './components/toolbar/toolbar';
3233
import Tooltip from './components/tooltip/tooltip';
33-
import ProgressIndicator from './components/progress-indicator/progress-indicator';
34+
import ProgressIndicator
35+
from './components/progress-indicator/progress-indicator';
3436
import FloatingMenu from './components/floating-menu/floating-menu';
3537

3638
const settings = {};
@@ -57,150 +59,131 @@ export {
5759
* See each components' static `.init()` methods for details.
5860
*/
5961
settings,
60-
6162
/**
6263
* Watches for change in checkbox in the given document and force changing `checked` attribute
6364
* so that DOM mutation observer in {@link https://www.npmjs.com/package/svgxuse svgxuse} is triggered.
6465
* @type initCheckbox
6566
*/
6667
initCheckbox,
67-
6868
/**
6969
* Floating action button.
7070
* @type FabButton
7171
*/
7272
FabButton,
73-
7473
/**
7574
* File uploader.
7675
* @type FileUploader
7776
*/
7877
FileUploader,
79-
8078
/**
8179
* Content switcher.
8280
* @type ContentSwitcher
8381
*/
8482
ContentSwitcher,
85-
8683
/**
8784
* Container of tabs.
8885
* @type Tab
8986
*/
9087
Tab,
91-
9288
/**
9389
* Overflow menu.
9490
* @type OverflowMenu
9591
*/
9692
OverflowMenu,
97-
9893
/**
9994
* Modal dialog.
10095
* @type Modal
10196
*/
10297
Modal,
103-
10498
/**
10599
* Left Navigation Menu
106100
* @type LeftNav
107101
*/
108-
LeftNav,
109-
102+
LeftNav,
110103
/**
111104
* Spinner indicating loading state.
112105
* @type Loading
113106
*/
114107
Loading,
115-
116108
/**
117109
* A selector with drop downs.
118110
* @type Dropdown
119111
*/
120112
Dropdown,
121-
122113
/**
123114
* The container for cards.
124115
* @type Card
125116
*/
126117
Card,
127-
128118
/**
129119
* Number input UI.
130120
* @type NumberInput
131121
*/
132122
NumberInput,
133-
134123
/**
135124
* DataTable
136125
* @type DataTable
137126
*/
138127
DataTable,
139-
140128
/**
141129
* Detail page header.
142130
* @type DetailPageHeader
143131
*/
144132
DetailPageHeader,
145-
146133
/**
147134
* Search.
148135
* @type Search
149136
*/
150137
Search,
151-
152138
/**
153139
* Profile Switcher.
154140
* @type ProfileSwitcher
155141
*/
156142
ProfileSwitcher,
157-
158143
/**
159144
* Pagination.
160145
* @type Pagination
161146
*/
162147
Pagination,
163-
164148
/**
165149
* Accordion.
166150
* @type Accordion
167151
*/
168152
Accordion,
169-
170153
/**
171154
* Inline Left Navigation Menu.
172155
* @type InteriorLeftNav
173156
*/
174157
InteriorLeftNav,
175-
176158
/**
177159
* Notification.
178160
* @type InteriorLeftNav
179161
*/
180162
Notification,
181-
182163
/**
183164
* Toolbar.
184165
* @type Toolbar
185166
*/
186167
Toolbar,
187-
188168
/**
189169
* Tooltip.
190170
* @type Tooltip
191171
*/
192172
Tooltip,
193-
194173
/** ProgressIndicator.
195174
* @type InteriorLeftNav
196175
*/
197176
ProgressIndicator,
198-
199177
/**
200178
* Floating menu.
201179
* @type FloatingMenu
202180
*/
203181
FloatingMenu,
182+
/**
183+
* CopyButton.
184+
* @type CopyButton
185+
*/
186+
CopyButton,
204187
};
205188

206189
/**

0 commit comments

Comments
 (0)