@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.
10 lines (9 loc) • 462 B
TypeScript
import { BaseButtonProps } from '../../shared/types/base-button.types';
import type { ColorFromTheme } from '../../shared/types/color.types';
import type { CSSProperties } from 'react';
export interface ButtonPropsForWeb extends BaseButtonProps<string | number, CSSProperties> {
}
export interface GhostButtonForWeb extends BaseButtonProps<string | number, CSSProperties> {
textColorFromTheme: ColorFromTheme;
backgroundColorFromTheme: ColorFromTheme;
}