This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useSafeAreaInsets } from 'react-native-safe-area-context' | |
import { useCallback, useLayoutEffect, useMemo, useReducer, useRef, useState } from 'react' | |
import { ActivityIndicator, Keyboard, Platform, Text, View, TextInput, useWindowDimensions } from 'react-native' | |
import Animated from 'react-native-reanimated' | |
const SearchBar = () => { | |
const inset = useSafeAreaInsets() | |
const [isFocused, toggle] = useReducer((s) => !s, false) | |
const ref = useRef<View>(null) | |
const rect = useRef({ width: 0, height: 0, x: 0, y: 0 }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model: claude-opus-4-20250514 | |
messages: | |
- role: user | |
content: | |
- type: text | |
text: | | |
<system-reminder> | |
As you answer the user's questions, you can use the following context: | |
# important-instruction-reminders | |
Do what has been asked; nothing more, nothing less. |
OlderNewer