amis-rpc-design/node_modules/styled-components/dist/models/StyledComponent.d.ts

4 lines
432 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { BaseObject, IStyledComponentFactory, RuleSet, StyledOptions, WebTarget } from '../types';
declare function createStyledComponent<Target extends WebTarget, OuterProps extends object, Statics extends object = BaseObject>(target: Target, options: StyledOptions<'web', OuterProps>, rules: RuleSet<OuterProps>): ReturnType<IStyledComponentFactory<'web', Target, OuterProps, Statics>>;
export default createStyledComponent;