UNPKG
tiwi
Version:
latest (2.1.0)
2.1.0
2.0.0
1.0.15
1.0.14
1.0.13
1.0.12
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
React library to create components with Tailwind styles baked in.
github.com/baqhub/tiwi
baqhub/tiwi
tiwi
/
build
/
cjs
/
src
/
tiwi.d.ts
6 lines
(5 loc)
•
267 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
ComponentType
,
ReactNode
}
from
"react"
;
import
{
Tiwi
}
from
"./types.js"
;
type
JSXFunction
=
(
type
:
ComponentType
,
props
:
Record
<
string
,
any
> |
undefined
|
null
) =>
ReactNode
;
export
declare
function
buildTiwi
(
createElement
:
JSXFunction
):
Tiwi
;
export
{};