Repository URL to install this package:
Version:
1.0.1-0 ▾
|
import { ComponentType } from 'react'
import { DefaultStyledEh } from '../typings'
export function createWithComponent(styled: DefaultStyledEh) {
return function withComponent(Target: ComponentType) {
return styled(Target)
}
}