-
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 e2bf8d1
Showing
3 changed files
with
7 additions
and
16 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
5 changes: 2 additions & 3 deletions
5
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,7 @@ | ||
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> | ||
); | ||
const DevPreviewBadge: React.FC = () => <Label className="ocs-preview-badge">Dev Preview</Label>; | ||
|
||
export default DevPreviewBadge; |
14 changes: 2 additions & 12 deletions
14
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
import * as React from 'react'; | ||
import { Label } from '@patternfly/react-core'; | ||
import './Badge.scss'; | ||
|
||
const TechPreviewBadge: React.FC = () => ( | ||
<Label | ||
className="tech-preview" | ||
style={{ | ||
backgroundColor: '#D93F00', | ||
height: '100%', | ||
borderRadius: 'var(--pf-global--BorderRadius--sm)', | ||
}} | ||
> | ||
Tech Preview | ||
</Label> | ||
); | ||
const TechPreviewBadge: React.FC = () => <Label className="ocs-preview-badge">Tech Preview</Label>; | ||
|
||
export default TechPreviewBadge; |