UNPKG

@gechiui/block-editor

Version:
37 lines (32 loc) 980 B
import { createElement } from "@gechiui/element"; /** * External dependencies */ import { Text, View } from 'react-native'; /** * GeChiUI dependencies */ import { __ } from '@gechiui/i18n'; import { withPreferredColorScheme } from '@gechiui/compose'; /** * Internal dependencies */ import styles from './style.scss'; const BlockInsertionPoint = _ref => { let { getStylesFromColorScheme } = _ref; const lineStyle = getStylesFromColorScheme(styles.lineStyleAddHere, styles.lineStyleAddHereDark); const labelStyle = getStylesFromColorScheme(styles.labelStyleAddHere, styles.labelStyleAddHereDark); return createElement(View, { style: styles.containerStyleAddHere }, createElement(View, { style: lineStyle }), createElement(Text, { style: labelStyle }, __('ADD BLOCK HERE')), createElement(View, { style: lineStyle })); }; export default withPreferredColorScheme(BlockInsertionPoint); //# sourceMappingURL=insertion-point.native.js.map