import React, { HTMLProps } from "react"; import { STATUS_VARIANT, THEME } from "../../types"; interface FormGroupContextValues { id?: string; variant?: STATUS_VARIANT; theme?: THEME; isRequired?: boolean; hasLabel?: boolean; setHasLabel?: (hasLabel: boolean) => void; setLabelProps?: (props: HTMLProps) => void; labelProps?: HTMLProps; } export const FormGroupContext = React.createContext< Partial >({ theme: THEME.PRODUCT });