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