import { styled } from '@hero-design/rn'; import { View } from 'react-native'; import { WebView } from 'react-native-webview'; export const StyledWrapper = styled(View)<{ groupStyleEnabled?: boolean }>( ({ theme, groupStyleEnabled }) => ({ ...(groupStyleEnabled ? {} : { marginBottom: theme.__hd__.richTextEditor.space.wrapperMarginBottom, }), }) ); export const StyledWebView = styled(WebView)(({ theme }) => ({ minHeight: theme.__hd__.richTextEditor.sizes.editorMinHeight, backgroundColor: 'transparent', textAlignVertical: 'center', fontSize: theme.__hd__.textInput.fontSizes.text, }));