import type * as CSS from 'csstype'; import { createCustomProps, CustomPropTypes, } from '../../utils/createCustomProps'; import { ColorsWithHue } from '../primitives/colors'; export const webProps = { cursor: true, userSelect: true, resize: true, visibility: true, objectFit: true, objectPosition: true, outlineStyle: true, outlineWidth: true, outlineOffset: true, outlineColor: { property: 'outlineColor' as const, scale: 'colors' as const, }, }; export const webOnly = createCustomProps(webProps); export interface WebOnlyProps { /** * Supported only on the Web platform */ cursor?: CustomPropTypes; /** * Supported only on the Web platform */ userSelect?: CustomPropTypes; /** * Supported only on the Web platform */ resize?: CustomPropTypes; /** * Supported only on the Web platform */ visibility?: CustomPropTypes; /** * Supported only on the Web platform */ objectFit?: CustomPropTypes; /** * Supported only on the Web platform */ objectPosition?: CustomPropTypes; /** * Supported only on the Web platform */ outlineStyle?: CustomPropTypes; /** * Supported only on the Web platform */ outlineWidth?: CustomPropTypes; /** * Supported only on the Web platform */ outlineOffset?: CustomPropTypes; /** * Supported only on the Web platform */ outlineColor?: CustomPropTypes; }