@cerberus-design/styled-system
Version:
Cerberus Design System Panda-CSS styled-system.
28 lines (21 loc) • 1.05 kB
TypeScript
/* eslint-disable */
import type { ConditionalValue } from '../types/index';
import type { DistributiveOmit, Pretty } from '../types/system-types';
interface MenuVariant {
}
type MenuVariantMap = {
[key in keyof MenuVariant]: Array<MenuVariant[key]>
}
export type MenuVariantProps = {
[key in keyof MenuVariant]?: ConditionalValue<MenuVariant[key]> | undefined
}
export interface MenuRecipe {
__type: MenuVariantProps
(props?: MenuVariantProps): Pretty<Record<"arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem", string>>
raw: (props?: MenuVariantProps) => MenuVariantProps
variantMap: MenuVariantMap
variantKeys: Array<keyof MenuVariant>
splitVariantProps<Props extends MenuVariantProps>(props: Props): [MenuVariantProps, Pretty<DistributiveOmit<Props, keyof MenuVariantProps>>]
getVariantProps: (props?: MenuVariantProps) => MenuVariantProps
}
export declare const menu: MenuRecipe