mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-01-12 17:53:19 +08:00
24 lines
671 B
TypeScript
24 lines
671 B
TypeScript
/* eslint-disable */
|
|
import type { SystemStyleObject, ConditionalValue } from '../types'
|
|
import type { PropertyValue } from '../types/prop-type'
|
|
import type { Properties } from '../types/csstype'
|
|
import type { Tokens } from '../tokens'
|
|
|
|
export type StackProperties = {
|
|
align?: PropertyValue<'alignItems'>
|
|
justify?: PropertyValue<'justifyContent'>
|
|
direction?: PropertyValue<'flexDirection'>
|
|
gap?: PropertyValue<'gap'>
|
|
}
|
|
|
|
|
|
type StackOptions = StackProperties & Omit<SystemStyleObject, keyof StackProperties >
|
|
|
|
interface StackPatternFn {
|
|
(options?: StackOptions): string
|
|
raw: (options: StackOptions) => StackOptions
|
|
}
|
|
|
|
|
|
export declare const stack: StackPatternFn;
|