1 |
|
2 | Copyright IBM Corp. 2016, 2018
|
3 |
|
4 | This source code is licensed under the Apache-2.0 license found in the
|
5 | LICENSE file in the root directory of this source tree.
|
6 | -->
|
7 |
|
8 | <button data-copy-btn class="{{@root.prefix}}--btn {{@root.prefix}}--btn--primary {{@root.prefix}}--btn--copy {{@root.prefix}}--btn--sm">
|
9 | Copy button
|
10 | {{#if @root.featureFlags.componentsX}}
|
11 | {{ carbon-icon 'AddFilled16' class=(add @root.prefix '--btn__icon') }}
|
12 | {{else}}
|
13 | <svg class="{{@root.prefix}}--btn__icon" width="16" height="16" viewBox="0 0 16 16">
|
14 | <path d="M7.5 7.5H4v1h3.5V12h1V8.5H12v-1H8.5V4h-1v3.5zM8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16z" fill-rule="evenodd" />
|
15 | </svg>
|
16 | {{/if}}
|
17 | <div class="{{@root.prefix}}--btn--copy__feedback" data-feedback="Copied!"></div>
|
18 | </button>
|
19 |
|
\ | No newline at end of file |