@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
16 lines (15 loc) • 724 B
TypeScript
import type { ThemeUICSSObject, ThemeUICSSProperties } from '@theme-ui/css';
export declare const getProps: (test: (k: string) => boolean) => <T extends object>(props: T) => T;
export interface MarginProps extends Pick<ThemeUICSSProperties, 'm' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my'> {
}
export declare const getMargin: (props: MarginProps) => MarginProps;
export declare const omitMargin: <T extends object>(props: T) => T;
/** @internal */
export declare function __internalProps(props: __ThemeUIComponentsInternalProps): {};
/**
* @internal Props used by Theme UI Components not intended for user code.
*/
export interface __ThemeUIComponentsInternalProps {
__css?: ThemeUICSSObject;
__themeKey?: string;
}