-
In Typescript we are not getting the autocomplete of the space because
import { ThemeShape } from '@twilio-paste/theme';
import { ResponsiveValue } from '@twilio-paste/styling-library';
export declare type SpaceOptions = keyof ThemeShape['space'];
export declare type Space = ResponsiveValue<SpaceOptions>;
export declare type Padding = Space;
export declare type Margin = Space | 'auto';
export interface MarginProps {
margin?: Margin;
marginTop?: Margin;
marginRight?: Margin;
marginBottom?: Margin;
marginLeft?: Margin;
}
export interface PaddingProps {
padding?: Padding;
paddingTop?: Padding;
paddingRight?: Padding;
paddingBottom?: Padding;
paddingLeft?: Padding;
}
export interface SpaceProps extends MarginProps, PaddingProps {
}
//# sourceMappingURL=space.d.ts.m |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I couldn't find this utility in |
Beta Was this translation helpful? Give feedback.
-
Hi @tomtobac I've reached out to the team and should have a response for you today. |
Beta Was this translation helpful? Give feedback.
-
Hi @tomtobac, will you share a code sample showing where you're getting the error for |
Beta Was this translation helpful? Give feedback.
I couldn't find this utility in
styled-system
... even the the package@twilio-paste/styling-library
doesn't export this method...