@patreon/studio
Version:
Patreon Studio Design System
9 lines (8 loc) • 851 B
TypeScript
import type { StyledProps } from './types';
declare type BorderProps = Pick<StyledProps, 'b' | 'bt' | 'br' | 'bb' | 'bl' | 'borderStrokeWidth'> & Required<Pick<StyledProps, 'borderColor' | 'borderStyle'>>;
declare type PaddingProps = Pick<StyledProps, 'p' | 'pt' | 'pr' | 'pl' | 'pb' | 'pv' | 'ph'>;
declare type MarginProps = Pick<StyledProps, 'm' | 'mt' | 'mr' | 'ml' | 'mb' | 'mv' | 'mh'>;
export declare const getPadding: ({ p, pt, pr, pl, pb, pv, ph }: PaddingProps) => import("styled-components").FlattenSimpleInterpolation;
export declare const getMargin: ({ m, mt, mr, ml, mb, mv, mh }: MarginProps) => import("styled-components").FlattenSimpleInterpolation;
export declare const getBorder: ({ b, bt, br, bb, bl, borderColor, borderStrokeWidth, borderStyle }: BorderProps) => import("styled-components").FlattenSimpleInterpolation;
export {};