Skip to content

Commit

Permalink
Updated the section Beta badge (opensearch-project#338)
Browse files Browse the repository at this point in the history
Signed-off-by: AbhishekReddy1127 <[email protected]>
  • Loading branch information
AbhishekReddy1127 authored and AMoo-Miki committed Jul 2, 2023
1 parent 687a7f3 commit c77ba0d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src-docs/src/views/badge/beta_badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ export default () => (
&emsp;
<OuiBetaBadge size="s" label="E" color={item} />
&emsp;
<OuiBetaBadge label="Lab" color={item} iconType="beaker" />
<OuiBetaBadge label="experimental" color={item} iconType="beaker" />
&emsp;
<OuiBetaBadge label="Lab" size="s" color={item} iconType="beaker" />
<OuiBetaBadge
label="experimental"
size="s"
color={item}
iconType="beaker"
/>
<OuiSpacer size="s" />
</div>
))}
Expand All @@ -47,7 +52,7 @@ export default () => (
<h3>
Beta badges will also line up nicely with titles &nbsp;
<OuiBetaBadge
label="Lab"
label="experimental"
tooltipContent="This module is not GA. Please help us by reporting any bugs."
/>
</h3>
Expand All @@ -57,14 +62,15 @@ export default () => (
</OuiTitle>
<OuiSpacer size="s" />
<OuiBetaBadge
label="Lens"
iconType="lensApp"
onClick={() => alert('Goes to Lens')}
label="Visualize"
iconType="visVisualBuilder"
href="https://playground.opensearch.org/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))"
target="_blank"
/>
&emsp;
<OuiBetaBadge
label="Experimental"
href="http://www.elastic.co/subscriptions"
href="https://opensearch.org/docs/latest/"
target="_blank"
/>
</div>
Expand Down

0 comments on commit c77ba0d

Please sign in to comment.