Files
Fluxup_PAP/node_modules/expo-router/build/primitives/elements.d.ts
2026-03-10 16:18:05 +00:00

20 lines
876 B
TypeScript

import type { BadgeProps, IconProps, LabelProps, VectorIconProps } from './types';
export declare function Badge(props: BadgeProps): null;
export declare function Icon(props: IconProps): null;
/**
* Helper component for loading vector icons.
*
* Prefer using the `md` and `sf` props on `Icon` rather than using this component directly.
* Only use this component when you need to load a specific icon from a vector icon family.
*
* @example
* ```tsx
* import { Icon, VectorIcon } from 'expo-router';
* import MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons';
*
* <Icon src={<VectorIcon family={MaterialCommunityIcons} name="home" />} />
* ```
*/
export declare function VectorIcon<const NameT extends string>(props: VectorIconProps<NameT>): null;
export declare function Label(props: LabelProps): null;
//# sourceMappingURL=elements.d.ts.map