Initial commit
This commit is contained in:
commit
7878e653a0
253 changed files with 24552 additions and 0 deletions
16
twin.d.ts
vendored
Normal file
16
twin.d.ts
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
import 'twin.macro';
|
||||
import styledImport, { CSSProp, css as cssImport } from 'styled-components';
|
||||
|
||||
declare module 'twin.macro' {
|
||||
const styled: typeof styledImport;
|
||||
const css: typeof cssImport;
|
||||
}
|
||||
|
||||
declare module 'react' {
|
||||
interface HTMLAttributes<T> extends DOMAttributes<T> {
|
||||
css?: CSSProp<T>,
|
||||
}
|
||||
interface SVGProps<T> extends SVGProps<SVGSVGElement> {
|
||||
css?: CSSProp<T>,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue