UNPKG

@retriever-ui/system

Version:
6 lines (5 loc) 380 B
import { Theme } from '@emotion/react'; import * as CSS from 'csstype'; import { CSSResponsive } from '../type/theme'; declare const convertToTheme: (theme: Theme, cssProperty?: keyof CSS.PropertiesHyphen<0 | (string & {}), string & {}> | undefined, value?: CSSResponsive<string | number> | undefined) => CSSResponsive<string | number> | undefined; export default convertToTheme;