one
Version:
One is a React framework for web, iOS, and Android apps.
25 lines (24 loc) • 828 B
text/typescript
// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.
// edit the generator or catalog, then regenerate.
import type { ViewProps } from 'react-native'
import type {
DirectEventHandler,
Int32,
Double,
} from 'react-native/Libraries/Types/CodegenTypes'
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'
interface NativeProps extends ViewProps {
isPresented: boolean
acknowledgedEvent: Int32
revision: Int32
arrowEdge: string
presentationCompactAdaptation: string
contentWidth: Double
contentHeight: Double
onNativePopoverIsPresentedChange?: DirectEventHandler<
Readonly<{ isPresented: boolean; eventCount: Int32; revision: Int32 }>
>
}
export default codegenNativeComponent<NativeProps>('OneNativePopover', {
interfaceOnly: true,
})