Replies: 1 comment 1 reply
-
I struggled with this too until I discovered import { Box } from "@gluestack-ui/themed"
import React, { ComponentProps } from "react"
type BoxProps = ComponentProps<typeof Box> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the new components library called (gluestack-ui).
I am using typescript and I want to use the "Box" component props types interface in my component.
I can't find, is the interface exported?
In material-ui for example, you can:
the I can for example:
How can I do the same with gluestack-ui?
Beta Was this translation helpful? Give feedback.
All reactions