import type { ReactNode } from "react"; import { StyleSheet, View } from "react-native"; export function ComposerToolbarGlyph({ children, size }: { children: ReactNode; size: number }) { return ( = 20 ? styles.native : styles.web} accessibilityElementsHidden importantForAccessibility="no-hide-descendants" pointerEvents="none" > {children} ); } const styles = StyleSheet.create({ web: { width: 16, height: 16, flexShrink: 0, alignItems: "center", justifyContent: "center", }, native: { width: 20, height: 20, flexShrink: 0, alignItems: "center", justifyContent: "center", }, });