@leancodepl/styled-tools
Version:
Utilities for styled-components
6 lines (5 loc) • 299 B
TypeScript
import type { ExecutionContext, RuleSet } from "styled-components";
export declare function mkProxy(accessor: (context: ExecutionContext) => Value): (context: ExecutionContext) => Value;
export type Value = number | RuleSet | string | {
[key: string | symbol]: Value | undefined;
} | undefined;