UNPKG
@creative-kit/react
Version:
latest (1.1.5)
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
React component library
@creative-kit/react
/
dist
/
esm
/
components
/
HStack
/
index.js
8 lines
(5 loc)
•
245 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{ jsx }
from
'react/jsx-runtime'
;
import
{ forwardRef }
from
'react'
;
import
{
Flex
}
from
'../Flex/index.js'
;
const
HStack
=
forwardRef
(
function
HStack
(
props,ref
){
return
jsx
(
Flex
,{
ref
:ref,
direction
:
"row"
,...props})});
export
{
HStack
};