@wordpress/components
Version:
UI components for WordPress.
19 lines (18 loc) • 641 B
JavaScript
import { View } from "react-native";
import { usePreferredColorSchemeStyle } from "@wordpress/compose";
import styles from "./style.scss";
import { jsx as _jsx } from "react/jsx-runtime";
const BackgroundView = ({
children
}) => {
const backgroundStyles = usePreferredColorSchemeStyle(styles["components-autocomplete__background"], styles["components-autocomplete__background-dark"]);
return /* @__PURE__ */ _jsx(View, {
style: backgroundStyles,
children
});
};
var background_view_android_default = BackgroundView;
export {
background_view_android_default as default
};
//# sourceMappingURL=background-view.android.js.map