-
Hello! I'd like to know how to wrap thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
fregayeg
Feb 9, 2023
Replies: 1 comment
-
Hello! I've found a way to do what I was looking for. It seems its pretty simple that I imagined type Props = React.ComponentProps<typeof Base & typeof KeyboardAvoidingView> & VariantProps<Theme, 'viewVariants'> & SpacingProps<Theme>;
const KeyboardAvoidingBox = createRestyleComponent<Props, Theme>([spacing, createVariant({ themeKey: 'viewVariants' })], Base); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fregayeg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I've found a way to do what I was looking for. It seems its pretty simple that I imagined