one
Version:
One is a new React Framework that makes Vite serve both native and web.
12 lines • 863 B
TypeScript
import type { NativeStackNavigationOptions } from '@react-navigation/native-stack';
import type { ReactNode } from 'react';
import type { StackToolbarProps } from './StackToolbar.types';
export declare const STACK_TOOLBAR_CHILD: unique symbol;
export type StackToolbarChildType = 'button' | 'menu' | 'menuAction' | 'spacer' | 'searchBarSlot' | 'view' | 'label' | 'icon' | 'badge';
export type StackToolbarImplementation = {
appendPropsToOptions: (options: NativeStackNavigationOptions, props: StackToolbarProps) => NativeStackNavigationOptions;
render: (props: StackToolbarProps) => ReactNode;
};
export declare function registerStackToolbarImplementation(implementation: StackToolbarImplementation): void;
export declare function getStackToolbarImplementation(): StackToolbarImplementation | null;
//# sourceMappingURL=StackToolbarImplementation.d.ts.map