one
Version:
One is a React framework for web, iOS, and Android apps.
50 lines • 6.16 kB
TypeScript
import { type LazyHStackProps, type LazyVStackProps, type ListProps, type ScrollViewProps, type ScrollViewReaderProps } from './listTypes';
import { type ControlGroupProps, type DisclosureGroupProps, type DividerProps, type GroupProps, type GroupBoxProps, type ViewThatFitsProps, type GlassEffectContainerProps, type GeometryReaderProps, type LinkProps, type OverlayContentProps, type OverlayProps, type ViewSlotProps, type SwipeActionsActionsProps, type SwipeActionsProps } from './groupTypes';
import { type ButtonProps, type FormProps, type GlassProps, type HostProps, type LabeledContentProps, type SectionProps, type SlotProps, type SpacerProps, type StackProps, type ZStackProps } from './generated/containerTypes';
import { InsideContainer, assertOneNativeChildren } from './containerChildren';
import { type GridProps, type GridRowProps, type LazyHGridProps, type LazyVGridProps } from './gridTypes';
export { InsideContainer, assertOneNativeChildren };
export declare function Host({ axis, ...props }: HostProps): import("react/jsx-runtime").JSX.Element;
export declare function HStack(props: StackProps): import("react/jsx-runtime").JSX.Element;
export declare function VStack(props: StackProps): import("react/jsx-runtime").JSX.Element;
export declare function ZStack({ alignment, children, style, ...props }: ZStackProps): import("react/jsx-runtime").JSX.Element;
export declare function Spacer({ minLength, style, ...props }: SpacerProps): import("react/jsx-runtime").JSX.Element;
export declare function Form({ children, style, sizing, colorScheme, dynamicTypeSize, controlSize, locale, tint, isEnabled, ...props }: FormProps): import("react/jsx-runtime").JSX.Element;
export declare function Section({ title, footer, children, swiftStyle, style, ...props }: SectionProps): import("react/jsx-runtime").JSX.Element;
export declare function List({ listStyle, children, selection, onSelectionChange, swiftStyle, style, ...props }: ListProps): import("react/jsx-runtime").JSX.Element;
export declare function ScrollView({ axes, showsIndicators, children, swiftStyle, style, ...props }: ScrollViewProps): import("react/jsx-runtime").JSX.Element;
export declare function ScrollViewReader({ children, style, ...props }: ScrollViewReaderProps): import("react/jsx-runtime").JSX.Element;
export declare function LazyVStack({ alignment, spacing, children, style, ...props }: LazyVStackProps): import("react/jsx-runtime").JSX.Element;
export declare function LazyHStack({ alignment, spacing, children, style, ...props }: LazyHStackProps): import("react/jsx-runtime").JSX.Element;
export declare function LazyVGrid({ columns, alignment, spacing, children, style, ...props }: LazyVGridProps): import("react/jsx-runtime").JSX.Element;
export declare function LazyHGrid({ rows, alignment, spacing, children, style, ...props }: LazyHGridProps): import("react/jsx-runtime").JSX.Element;
export declare function Grid({ alignment, horizontalSpacing, verticalSpacing, children, style, ...props }: GridProps): import("react/jsx-runtime").JSX.Element;
export declare function GridRow({ alignment, children, style, ...props }: GridRowProps): import("react/jsx-runtime").JSX.Element;
export declare function LabeledContent({ label, value, systemImage, children, style, ...props }: LabeledContentProps): import("react/jsx-runtime").JSX.Element;
export declare function GroupBox({ label, children, style, ...props }: GroupBoxProps): import("react/jsx-runtime").JSX.Element;
export declare function ViewThatFits({ axes, children, style, ...props }: ViewThatFitsProps): import("react/jsx-runtime").JSX.Element;
export declare function Button({ onPress, label, disabled, subtitle, systemImage, buttonRole, buttonStyle, disclosureIndicator, children, swiftStyle, style, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
export declare function Glass({ material, glassEffect, interactive, shape, cornerRadius, tint, colorScheme, children, style, ...props }: GlassProps): import("react/jsx-runtime").JSX.Element;
export declare function GlassEffectContainer({ spacing, children, style, ...props }: GlassEffectContainerProps): import("react/jsx-runtime").JSX.Element;
export declare function GeometryReader({ children, style, ...props }: GeometryReaderProps): import("react/jsx-runtime").JSX.Element;
export declare function ControlGroup({ label, systemImage, controlGroupStyle, children, style, ...props }: ControlGroupProps): import("react/jsx-runtime").JSX.Element;
export declare function DisclosureGroup({ label, isExpanded, onIsExpandedChange, revision, children, style, ...props }: DisclosureGroupProps): import("react/jsx-runtime").JSX.Element;
export declare function Divider({ children, style, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
export declare function Link({ destination, label, children, style, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
export declare function Group({ children, style, ...props }: GroupProps): import("react/jsx-runtime").JSX.Element;
export declare function OverlayContent({ children, style, ...props }: OverlayContentProps): import("react/jsx-runtime").JSX.Element;
declare function OverlayFn({ alignment, children, style, ...props }: OverlayProps): import("react/jsx-runtime").JSX.Element;
export declare const Overlay: typeof OverlayFn & {
Content: typeof OverlayContent;
};
declare function ViewSlotFn({ name, options, children, style, ...props }: ViewSlotProps): import("react/jsx-runtime").JSX.Element;
export declare const ViewSlot: typeof ViewSlotFn & {
Content: typeof OverlayContent;
};
export declare function SwipeActionsActions({ edge, allowsFullSwipe, children, style, ...props }: SwipeActionsActionsProps): import("react/jsx-runtime").JSX.Element;
declare function SwipeActionsFn({ children, style, ...props }: SwipeActionsProps): import("react/jsx-runtime").JSX.Element;
export declare const SwipeActions: typeof SwipeActionsFn & {
Actions: typeof SwipeActionsActions;
};
export declare function Slot({ height, width, children, style, ...props }: SlotProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Containers.native.d.ts.map