-
Notifications
You must be signed in to change notification settings - Fork 4
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
36eb895
commit c38ab10
Showing
2 changed files
with
43 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from "react"; | ||
import { InfoIcon } from "@chakra-ui/icons"; | ||
import { | ||
Accordion, | ||
AccordionItem, | ||
AccordionButton, | ||
AccordionIcon, | ||
AccordionPanel, | ||
Text, | ||
} from "@chakra-ui/react"; | ||
|
||
const DropdownWarning = () => { | ||
return ( | ||
<Accordion pb="sm" allowToggle> | ||
<AccordionItem | ||
borderRadius="lg" | ||
backgroundColor="informationBadge.back" | ||
border="1px #5F6CF6 solid" | ||
> | ||
<AccordionButton> | ||
<InfoIcon mr="xs" color="informationBadge.main" /> | ||
<Text fontWeight="semibold" textAlign="left" fontSize="md" flex="1"> | ||
Heads up! | ||
</Text> | ||
<AccordionIcon color="informationBadge.main" /> | ||
</AccordionButton> | ||
<AccordionPanel> | ||
<Text fontSize="sm"> | ||
This is our representation of the degree audit. It may not be fully | ||
accurate. Kindly always reference the actual degree audit for | ||
validating your graduation eligibility. We are actively working to | ||
improve this. | ||
</Text> | ||
</AccordionPanel> | ||
</AccordionItem> | ||
</Accordion> | ||
); | ||
}; | ||
|
||
export default DropdownWarning; |
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