UNPKG
@visa/nova-react
Version:
latest (3.1.0)
3.1.0
3.0.0
2.5.4
2.5.3
2.5.2
Visa Product Design System Nova React library. Compatible with React ^19.
@visa/nova-react
/
th
/
index.mjs
2 lines
(1 loc)
•
239 B
JavaScript
View Raw
1
2
import
{jsx
as
t}
from
"react/jsx-runtime"
;
import
a
from
"clsx"
;
const
e=
"v-th"
,s=
(
{alternate:s,className:o,scope:r,tag:m=
"th"
,...c}
)=>
t
(m,{
className
:
a
(
"row"
===r?
"v-td"
:e,s&&
`
${e}
-alt`
,o),
scope
:r,...c});s.
displayName
=
"Th"
;
export
{s
as
default
};