/* * CRITICAL: DO NOT MODIFY THIS COMPONENT WITHOUT DESIGN AUTHORITY APPROVAL * * This SelectOption component is used by SelectField throughout the application. * Changes to this component's interface or styling will affect all dropdown * options across multiple domains. Any modifications require extensive testing * and approval from the application design authority. */ import React, { PropsWithChildren } from "react"; import { Box, Flex, Heading, Text } from "@chakra-ui/react"; const SelectOption: React.FC< PropsWithChildren<{ title: string; badge?: React.ReactNode; }> > = ({ title, badge, children }) => { return ( {title} {badge && badge} {children} ); }; export default SelectOption;