MCPcopy Create free account
hub / github.com/PatoSala/react-native-blocks / Props

Interface Props

packages/blocks/src/HeaderBlock.tsx:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { View, TextInput, StyleSheet } from "react-native";
11
12interface Props {
13 blockId: string
14}
15
16export function HeaderBlock({ blockId } : Props) {
17 const { getTextInputProps, isFocused, getValue, getSelection } = useTextInput(blockId); // Maybe in the future we can pass a ref to use useImperativeHandle

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected