@cerberus-design/styled-system
Version:
Cerberus Design System Panda-CSS styled-system.
32 lines (24 loc) • 1.02 kB
TypeScript
/* eslint-disable */
import type { ConditionalValue } from '../types/index';
import type { DistributiveOmit, Pretty } from '../types/system-types';
interface ToastVariant {
}
type ToastVariantMap = {
[key in keyof ToastVariant]: Array<ToastVariant[key]>
}
export type ToastVariantProps = {
[key in keyof ToastVariant]?: ConditionalValue<ToastVariant[key]> | undefined
}
export interface ToastRecipe {
__type: ToastVariantProps
(props?: ToastVariantProps): Pretty<Record<"group" | "root" | "title" | "description" | "actionTrigger" | "closeTrigger" | "icon", string>>
raw: (props?: ToastVariantProps) => ToastVariantProps
variantMap: ToastVariantMap
variantKeys: Array<keyof ToastVariant>
splitVariantProps<Props extends ToastVariantProps>(props: Props): [ToastVariantProps, Pretty<DistributiveOmit<Props, keyof ToastVariantProps>>]
getVariantProps: (props?: ToastVariantProps) => ToastVariantProps
}
/**
* The styles for Notification components
*/
export declare const toast: ToastRecipe