Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

ComposerPopoverAnchor.tsx

7 lines312 Bytes

1import type { ReactNode } from "react";
2import { View } from "react-native";
3​
4/** Places a composer popover just above the composer. */
5export function ComposerPopoverAnchor(props: { readonly children: ReactNode }) {
6 return <View className="absolute inset-x-0 bottom-full z-10 mb-2">{props.children}</View>;
7}