20 lines
638 B
TypeScript
20 lines
638 B
TypeScript
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 GridItemProperties = {
|
|
colSpan?: ConditionalValue<number>
|
|
rowSpan?: ConditionalValue<number>
|
|
colStart?: ConditionalValue<number>
|
|
rowStart?: ConditionalValue<number>
|
|
colEnd?: ConditionalValue<number>
|
|
rowEnd?: ConditionalValue<number>
|
|
}
|
|
|
|
|
|
type GridItemOptions = GridItemProperties & Omit<SystemStyleObject, keyof GridItemProperties >
|
|
|
|
|
|
export declare function gridItem(options?: GridItemOptions): string
|