styled-components
Version:
CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.
5 lines (4 loc) • 348 B
TypeScript
import { Interpolation, NoInfer, RuleSet, Styles } from '../types';
declare function css(styles: Styles<object>, ...interpolations: Interpolation<object>[]): RuleSet<object>;
declare function css<Props extends object>(styles: Styles<NoInfer<Props>>, ...interpolations: Interpolation<NoInfer<Props>>[]): RuleSet<NoInfer<Props>>;
export default css;