utils.d.ts 320 B

1234567891011
  1. export declare type Gradients = {
  2. [percent: string]: string;
  3. };
  4. export declare type FromTo = {
  5. from: string;
  6. to: string;
  7. };
  8. export declare type LinearGradient = {
  9. direction?: string;
  10. } & (Gradients | FromTo);
  11. export declare function getBackgroundColor(color: string | string[] | LinearGradient): string;