-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d09a574
commit 59a0c79
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
frontend/packages/console-shared/src/components/badges/DevPreviewBadge.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import * as React from 'react'; | ||
import { Label } from '@patternfly/react-core'; | ||
import './Badge.scss'; | ||
|
||
const DevPreviewBadge: React.FC = () => ( | ||
<Label style={{ backgroundColor: '#D93F00' }}>Dev Preview</Label> | ||
<Label | ||
className="preview-badge" | ||
style={{ backgroundColor: '#D93F00', borderRadius: 'var(--pf-global--BorderRadius--sm)' }} | ||
> | ||
Dev Preview | ||
</Label> | ||
); | ||
|
||
export default DevPreviewBadge; |
9 changes: 3 additions & 6 deletions
9
frontend/packages/console-shared/src/components/badges/TechPreviewBadge.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters