UNPKG

@hope-ui/solid

Version:

The SolidJS component library you've hoped for.

76 lines 2.23 kB
import { Property } from "csstype"; import { KeysOf, SpaceScaleValue } from "../types"; /** * Types for margin CSS properties */ export declare type MarginProps = Partial<{ /** * The CSS `margin` property */ margin: Property.Margin<SpaceScaleValue> | number; /** * The CSS `margin` property */ m: Property.Margin<SpaceScaleValue> | number; /** * The CSS `margin-top` property */ marginTop: Property.MarginTop<SpaceScaleValue> | number; /** * The CSS `margin-top` property */ mt: Property.MarginTop<SpaceScaleValue> | number; /** * The CSS `margin-right` property */ marginRight: Property.MarginRight<SpaceScaleValue> | number; /** * The CSS `margin-right` property */ mr: Property.MarginRight<SpaceScaleValue> | number; /** * The CSS `margin-inline-start` property */ marginStart: Property.MarginInlineStart<SpaceScaleValue> | number; /** * The CSS `margin-inline-start` property */ ms: Property.MarginInlineStart<SpaceScaleValue> | number; /** * The CSS `margin-bottom` property */ marginBottom: Property.MarginBottom<SpaceScaleValue> | number; /** * The CSS `margin-bottom` property */ mb: Property.MarginBottom<SpaceScaleValue> | number; /** * The CSS `margin-left` property */ marginLeft: Property.MarginLeft<SpaceScaleValue> | number; /** * The CSS `margin-left` property */ ml: Property.MarginLeft<SpaceScaleValue> | number; /** * The CSS `margin-inline-end` property */ marginEnd: Property.MarginInlineEnd<SpaceScaleValue> | number; /** * The CSS `margin-inline-end` property */ me: Property.MarginInlineEnd<SpaceScaleValue> | number; /** * The CSS `margin-inline-start` and `margin-inline-end` property */ mx: Property.MarginInlineStart<SpaceScaleValue> | number; /** * The CSS `margin-top` and `margin-bottom` property */ my: Property.MarginTop<SpaceScaleValue> | number; }>; /** * Style prop names for margin properties */ export declare const marginPropNames: KeysOf<MarginProps>; //# sourceMappingURL=margin.d.ts.map