Skip to content

Commit

Permalink
Merge pull request #843 from Clever/vc/add-deprecated-alert
Browse files Browse the repository at this point in the history
add deprecated alert to main page
  • Loading branch information
vchunduru93 authored Nov 9, 2023
2 parents dc87010 + 6fbb0d8 commit 1de1471
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/components/ComponentsView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,27 @@ import React from "react";

import View from "./View";
import ComponentBox from "./ComponentBox";
import { FlexBox } from "src";
import { AlertBox2, FlexBox } from "src";

export default function ComponentsView() {
const { cssClass, componentsToDisplay } = ComponentsView;

return (
<View className={cssClass.CONTAINER} title="Component List">
<AlertBox2 type="caution" isCloseable={false}>
<div>
PSA: This is the <b>DEPRECATED</b> Dewey components page. To see the new Dewey 3.0, please
navigate to{" "}
<a
href="https://master--62fbbb0daff0aa52aea739ac.chromatic.com/?path=/story/clever-ui-introduction--page"
target="_blank"
rel="noreferrer"
>
go/dew3y
</a>
, and check out <b>#eng-dew3y</b> in slack for more information.
</div>
</AlertBox2>
<FlexBox wrap className={cssClass.CONTAINER_FLEXBOX}>
{componentsToDisplay
.sort((a, b) => a.componentName.localeCompare(b.componentName))
Expand Down

0 comments on commit 1de1471

Please sign in to comment.