prettier -w
This commit is contained in:
@@ -17,8 +17,7 @@ export type PressableProps = Omit<
|
||||
'children' | 'style'
|
||||
> & {
|
||||
children?:
|
||||
| React.ReactNode
|
||||
| ((state: PressableStateCallbackType) => React.ReactNode)
|
||||
React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode)
|
||||
style?:
|
||||
| StyleProp<ViewStyle>
|
||||
| ((state: PressableStateCallbackType) => StyleProp<ViewStyle>)
|
||||
|
||||
@@ -211,9 +211,7 @@ export function MessageComposer({
|
||||
nextFocusRef={() =>
|
||||
composerInternalApiRef.current?.input
|
||||
?.element as unknown as
|
||||
| {focus: () => void}
|
||||
| null
|
||||
| undefined
|
||||
{focus: () => void} | null | undefined
|
||||
}>
|
||||
<EmojiPicker.Trigger label={l`Open emoji picker`}>
|
||||
{({props, state, control}) => (
|
||||
|
||||
@@ -48,8 +48,7 @@ export function TabBar({
|
||||
// Scrolling under tap feels disorienting so only adjust the scroll offset
|
||||
// when tapping on an item out of view--and we adjust by almost an entire page.
|
||||
const parent = scrollElRef.current?.getScrollableNode?.() as unknown as
|
||||
| HTMLElement
|
||||
| undefined
|
||||
HTMLElement | undefined
|
||||
if (!parent) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user