@hope-ui/solid
Version:
The SolidJS component library you've hoped for.
40 lines • 1.02 kB
TypeScript
import { Property } from "csstype";
import { KeysOf, SpaceScaleValue, ZIndiceScaleValue } from "../types";
/**
* Types for position CSS properties
*/
export declare type PositionProps = Partial<{
/**
* The CSS `position` property
*/
position: Property.Position;
/**
* The CSS `position` property
*/
pos: Property.Position;
/**
* The CSS `z-index` property
*/
zIndex: Property.ZIndex | ZIndiceScaleValue;
/**
* The CSS `top` property
*/
top: Property.Top<SpaceScaleValue> | number;
/**
* The CSS `right` property
*/
right: Property.Right<SpaceScaleValue> | number;
/**
* The CSS `bottom` property
*/
bottom: Property.Bottom<SpaceScaleValue> | number;
/**
* The CSS `left` property
*/
left: Property.Left<SpaceScaleValue> | number;
}>;
/**
* Style prop names for position realted properties
*/
export declare const positionPropNames: KeysOf<PositionProps>;
//# sourceMappingURL=position.d.ts.map