UNPKG

@cerberus-design/styled-system

Version:

Cerberus Design System Panda-CSS styled-system.

27 lines (19 loc) 839 B
/* eslint-disable */ import type { SystemStyleObject, ConditionalValue } from '../types/index'; import type { Properties } from '../types/csstype'; import type { SystemProperties } from '../types/style-props'; import type { DistributiveOmit } from '../types/system-types'; import type { Tokens } from '../tokens/index'; export interface ScrollableProperties { direction?: ConditionalValue<"horizontal" | "vertical"> hideScrollbar?: ConditionalValue<boolean> } interface ScrollableStyles extends ScrollableProperties, DistributiveOmit<SystemStyleObject, keyof ScrollableProperties | 'overflow'> {} interface ScrollablePatternFn { (styles?: ScrollableStyles): string raw: (styles?: ScrollableStyles) => SystemStyleObject } /** * A container that allows for scrolling */ export declare const scrollable: ScrollablePatternFn;