UNPKG

styled-components

Version:
4 lines (3 loc) 440 B
import type { BaseObject, IStyledComponentFactory, RuleSet, StyledOptions, WebTarget } from '../types'; declare function createStyledComponent<Target extends WebTarget, OuterProps extends BaseObject, Statics extends BaseObject = BaseObject>(target: Target, options: StyledOptions<'web', OuterProps>, rules: RuleSet<OuterProps>): ReturnType<IStyledComponentFactory<'web', Target, OuterProps, Statics>>; export default createStyledComponent;