import { mergeClasses } from '@expo/styleguide'; import { ComponentType, HTMLAttributes, PropsWithChildren } from 'react'; import { LABEL } from '~/ui/components/Text'; type SnippetHeaderProps = PropsWithChildren<{ title: string; Icon?: ComponentType>; alwaysDark?: boolean; }>; export const SnippetHeader = ({ title, children, Icon, alwaysDark = false, }: SnippetHeaderProps) => (
{!!children &&
{children}
}
);