@devlander/styled-components-theme
Version:
Devlander's team utilizes this package during the development of their React Native projects. Its primary purpose is to facilitate code reuse by sharing types across multiple projects that uses the styled-components library.
14 lines (13 loc) • 351 B
TypeScript
export declare enum FontTypeWeightEnum {
name = "name",
light = "light",
regular = "regular",
bold = "bold"
}
export type FontTypeWeight = {
name: string;
light: string;
regular: string;
bold: string;
};
export type FontWeightType = 'name' | 'light' | 'regular' | 'bold' | `${FontTypeWeightEnum}` | FontTypeWeightEnum;