UNPKG

@chakra-ui/styled-system

Version:

Style function for css-in-js building component libraries

27 lines 916 B
import { Config } from "../utils/prop-config"; import { ResponsiveValue, Token } from "../utils/types"; export declare const others: Config; export interface OtherProps { /** * If `true`, hide an element visually without hiding it from screen readers. * * If `focusable`, the sr-only styles will be undone, making the element visible * to sighted users as well as screen readers. */ srOnly?: true | "focusable"; /** * The layer style object to apply. * Note: Styles must be located in `theme.layerStyles` */ layerStyle?: Token<string & {}, "layerStyles">; /** * The text style object to apply. * Note: Styles must be located in `theme.textStyles` */ textStyle?: Token<string & {}, "textStyles">; /** * Apply theme-aware style objects in `theme` */ apply?: ResponsiveValue<string>; } //# sourceMappingURL=others.d.ts.map