mirror of https://github.com/jitsi/jitsi-meet
parent
046f9c53ab
commit
84ad0200a8
@ -1,5 +1,3 @@ |
||||
// @flow
|
||||
|
||||
import { StyleSheet } from 'react-native'; |
||||
|
||||
import { ColorPalette } from '../../../styles/components/styles/ColorPalette'; |
@ -1,9 +1,9 @@ |
||||
import { StyleSheet } from 'react-native'; |
||||
|
||||
import BaseTheme from '../../../../base/ui/components/BaseTheme.native'; |
||||
import ColorSchemeRegistry from '../../../color-scheme/ColorSchemeRegistry'; |
||||
import { schemeColor } from '../../../color-scheme/functions'; |
||||
import { BoxModel } from '../../../styles/components/styles/BoxModel'; |
||||
import BaseTheme from '../../../ui/components/BaseTheme.native'; |
||||
import { PREFERRED_DIALOG_SIZE } from '../../constants'; |
||||
|
||||
const BORDER_RADIUS = 5; |
@ -1,7 +1,5 @@ |
||||
// @flow
|
||||
|
||||
import { ColorPalette } from '../../../styles/components/styles/ColorPalette'; |
||||
import BaseTheme from '../../../ui/components/BaseTheme'; |
||||
import BaseTheme from '../../../ui/components/BaseTheme.native'; |
||||
|
||||
/** |
||||
* The default color of the {@code Label} and {@code ExpandedLabel}. |
@ -1,27 +1,25 @@ |
||||
// @flow
|
||||
|
||||
import React, { Component } from 'react'; |
||||
import { TouchableWithoutFeedback } from 'react-native'; |
||||
import { GestureResponderEvent, TouchableWithoutFeedback } from 'react-native'; |
||||
|
||||
/** |
||||
* The type of the React {@link Component} props of {@link Pressable}. |
||||
*/ |
||||
type Props = { |
||||
children: React$Node, |
||||
interface IProps { |
||||
children: React.ReactNode; |
||||
|
||||
/** |
||||
* Called when the touch is released, but not if cancelled (e.g. By a scroll |
||||
* that steals the responder lock). |
||||
*/ |
||||
onPress: Function |
||||
}; |
||||
onPress?: (event: GestureResponderEvent) => void; |
||||
} |
||||
|
||||
/** |
||||
* Adds support for {@code onPress} to a child React {@link Component} (which |
||||
* should probably not support the prop in question; otherwise, there's little |
||||
* point of using {@code Pressable} then in the first place). |
||||
*/ |
||||
export default class Pressable extends Component<Props> { |
||||
export default class Pressable extends Component<IProps> { |
||||
/** |
||||
* Implements React's {@link Component#render()}. |
||||
* |
@ -1,5 +1,3 @@ |
||||
// @flow
|
||||
|
||||
import { StyleSheet } from 'react-native'; |
||||
|
||||
import { OVERLAY_Z_INDEX } from '../../constants'; |
Loading…
Reference in new issue