import type { JSX } from "react"; /** * Create a type that expands TProps with all native props from TElement (except * properties already on TProps, and `ref`) * @example * type MyProps = PropsFor<'div', { * // any custom props * }> * * const MyComponent = forwardRef((props, ref) => { * return
...
* }) */ export type PropsFor = Omit, "ref">; /** * Union of Bifrost-supported color modes. * `"system"` means to apply either light or dark depending on current OS or * browser setting. */ export type ColorMode = "light" | "dark" | "system"; /** * Union of Bifrost-supported color themes. */ export type ColorTheme = "teal" | "purple" | "pink" | "yellow";