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

Interface Props

packages/blocks/src/SubHeaderBlock.tsx:11–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import { View, TextInput, StyleSheet } from "react-native";
10
11interface Props {
12 blockId: string
13}
14
15export const SubHeaderBlock = ({ blockId } : Props) => {
16 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