import { PropsWithChildren } from 'react'; import { WithStyledProps } from '@mapples/style'; import type { Gradient } from '@mapples/types'; import { ViewProps as RNViewProps } from 'react-native'; /** * Props for the View component. * * @public */ export type ViewProps = PropsWithChildren & { /** * Optional linear-gradient background painted behind the view's children * (e.g. emitted by a Figma import). Falls back to the solid * `backgroundColor` when absent or unrenderable. */ gradient?: Gradient; }>; /** * A customizable view component with built-in styling support. * * The View component extends React Native's View with additional styling * capabilities through the @mapples/style system. It serves as a container * for other UI elements and supports all standard view properties. * * @example * ```tsx * * Content inside the view * * ``` * * @public */ declare const View: import("react").ForwardRefExoticComponent<{ styled?: import("@mapples/style").StyledProps> | undefined; } & RNViewProps & { /** * Optional linear-gradient background painted behind the view's children * (e.g. emitted by a Figma import). Falls back to the solid * `backgroundColor` when absent or unrenderable. */ gradient?: Gradient; } & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>; export default View; //# sourceMappingURL=View.d.ts.map