@ntragas/pouncejstest
Version:
A collection of UI components from Panther labs
16 lines (15 loc) • 706 B
TypeScript
import { StylingProps } from './system';
export declare const truncateProp: ({ truncated }: any) => any;
export declare const visuallyHiddenProp: ({ visuallyHidden }: any) => any;
export declare type SxProp = StylingProps | {
[cssSelector: string]: SxProp | undefined;
};
export declare const sxProp: (props: any) => import("@styled-system/css").CSSObject;
export declare type UtilityProps = {
/** Whether should text should truncate to fill at most one line of text */
truncated?: boolean;
/** Additional custom inline CSS to pass to the element */
sx?: SxProp;
/** Makes the component invisible to the eye, but still readable by screen readers */
visuallyHidden?: boolean;
};