twin.macro
Advanced tools
Comparing version 3.4.0 to 3.4.1
{ | ||
"name": "twin.macro", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Twin blends the magic of Tailwind with the flexibility of css-in-js", | ||
@@ -73,3 +73,3 @@ "main": "macro.js", | ||
"dependencies": { | ||
"@babel/template": "^7.18.10", | ||
"@babel/template": "^7.22.15", | ||
"babel-plugin-macros": "^3.1.0", | ||
@@ -79,3 +79,3 @@ "chalk": "4.1.2", | ||
"lodash.merge": "^4.6.2", | ||
"postcss-selector-parser": "^6.0.10" | ||
"postcss-selector-parser": "^6.0.13" | ||
}, | ||
@@ -82,0 +82,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
import { ComponentType } from 'react' | ||
import { ComponentType, ElementType } from 'react' | ||
import { Config as TailwindConfig } from 'tailwindcss' | ||
@@ -29,3 +29,3 @@ | ||
export type TwComponent<K extends keyof JSX.IntrinsicElements> = ( | ||
props: JSX.IntrinsicElements[K] | ||
props: JSX.IntrinsicElements[K] & { as?: ElementType } | ||
) => JSX.Element | ||
@@ -32,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
138386
Updated@babel/template@^7.22.15