@cerberus-design/styled-system
Version:
Cerberus Design System Panda-CSS styled-system.
32 lines (24 loc) • 969 B
TypeScript
/* eslint-disable */
import type { ConditionalValue } from '../types/index';
import type { DistributiveOmit, Pretty } from '../types/system-types';
interface ModalVariant {
}
type ModalVariantMap = {
[key in keyof ModalVariant]: Array<ModalVariant[key]>
}
export type ModalVariantProps = {
[key in keyof ModalVariant]?: ConditionalValue<ModalVariant[key]> | undefined
}
export interface ModalRecipe {
__type: ModalVariantProps
(props?: ModalVariantProps): Pretty<Record<"dialog" | "icon" | "heading" | "description", string>>
raw: (props?: ModalVariantProps) => ModalVariantProps
variantMap: ModalVariantMap
variantKeys: Array<keyof ModalVariant>
splitVariantProps<Props extends ModalVariantProps>(props: Props): [ModalVariantProps, Pretty<DistributiveOmit<Props, keyof ModalVariantProps>>]
getVariantProps: (props?: ModalVariantProps) => ModalVariantProps
}
/**
* The styles for Modal components
*/
export declare const modal: ModalRecipe