import type * as CSS from 'csstype'; import { Config, system } from 'styled-system'; import type { ResponsiveValue } from './responsiveValue'; const config: Config = { animation: true, appearance: true, visibility: true, userSelect: true, pointerEvents: true, cursor: true, resize: true, objectFit: true, objectPosition: true, float: true, willChange: true, }; export interface customExtraProps { /** * The CSS `animation` property */ animation?: ResponsiveValue; /** * The CSS `appearance` property */ appearance?: ResponsiveValue; /** * The CSS `visibility` property */ visibility?: ResponsiveValue; /** * The CSS `user-select` property */ userSelect?: ResponsiveValue; /** * The CSS `pointer-events` property */ pointerEvents?: ResponsiveValue; /** * The CSS `cursor` property */ cursor?: ResponsiveValue; /** * The CSS `resize` property */ resize?: ResponsiveValue; /** * The CSS `object-fit` property */ objectFit?: ResponsiveValue; /** * The CSS `object-psition` property */ objectPosition?: ResponsiveValue; /** * The CSS `float` property */ float?: ResponsiveValue; /** * The CSS `will-change` property */ willChange?: ResponsiveValue; } export const customExtra = system(config);