mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-04-29 05:05:32 +08:00
25 lines
711 B
TypeScript
25 lines
711 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 GridProperties = {
|
|
gap?: PropertyValue<'gap'>
|
|
columnGap?: PropertyValue<'gap'>
|
|
rowGap?: PropertyValue<'gap'>
|
|
columns?: ConditionalValue<number>
|
|
minChildWidth?: ConditionalValue<Tokens["sizes"] | Properties["width"]>
|
|
}
|
|
|
|
|
|
type GridOptions = GridProperties & Omit<SystemStyleObject, keyof GridProperties >
|
|
|
|
interface GridPatternFn {
|
|
(options?: GridOptions): string
|
|
raw: (options: GridOptions) => GridOptions
|
|
}
|
|
|
|
|
|
export declare const grid: GridPatternFn;
|