Skip to content

Commit bd9abea

Browse files
committed
Add leafygreen copyable to compass components
1 parent 0d862f2 commit bd9abea

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

package-lock.json

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass-components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@leafygreen-ui/code": "^16.0.2",
4646
"@leafygreen-ui/combobox": "^11.0.2",
4747
"@leafygreen-ui/confirmation-modal": "^6.0.2",
48+
"@leafygreen-ui/copyable": "^10.0.14",
4849
"@leafygreen-ui/descendants": "^2.1.0",
4950
"@leafygreen-ui/emotion": "^4.0.9",
5051
"@leafygreen-ui/guide-cue": "^7.0.2",

packages/compass-components/src/components/leafygreen.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import React, { useState } from 'react';
33
// This file exports `@leafygreen-ui` components and wraps some of them.
44

55
// 1. Import the components we use from leafygreen.
6+
import { default as Copyable } from '@leafygreen-ui/copyable';
67
import { default as Badge } from '@leafygreen-ui/badge';
78
import { default as Banner } from '@leafygreen-ui/banner';
89
import Checkbox from '@leafygreen-ui/checkbox';
@@ -146,6 +147,7 @@ export {
146147
Chip,
147148
Code,
148149
ConfirmationModal,
150+
Copyable,
149151
ExpandedContent,
150152
HeaderCell,
151153
HeaderRow,

0 commit comments

Comments
 (0)