import { PropsWithChildren, type ComponentRef, type ForwardRefExoticComponent, type RefAttributes } from 'react'; import { StyledProp, StyledProps, SvgStyle, WithStyledProps } from '@mapples/style'; import { SvgSource } from '@mapples/types'; import { View, ViewProps } from 'react-native'; /** * Props for the Vector component. * * @public */ export type VectorProps = PropsWithChildren, 'styled'> & { /** Styling configuration for the icon container and SVG */ styled?: StyledProps & { /** SVG-specific styling (width, height, color) */ styleSvg?: StyledProp; }; }> & { /** URI of the SVG icon — either a remote URL string or a local `SvgSource` module reference */ uri?: string | SvgSource; }; /** * Renders an SVG icon from a URI or falls back to a placeholder `MockIcon`. * * Accepts either a remote URL string or a local `SvgSource` module reference * via the `uri` prop. When no `uri` is provided the `MockIcon` placeholder is * shown instead, which is useful during development or when the icon asset is * optional. * * @example * ```tsx * // Remote URL * * * // Local SVG module * import MySvg from './my-icon.svg'; * * ``` * * @public */ declare const Vector: ForwardRefExoticComponent & RefAttributes>>; export default Vector; //# sourceMappingURL=Vector.d.ts.map