one
Version:
One is a React framework for web, iOS, and Android apps.
198 lines • 11.9 kB
TypeScript
import type { ButtonProps, ContextMenuProps, ControlGroupProps, DisclosureGroupProps, DividerProps, FormProps, FullScreenCoverProps, GlassProps, GlassEffectContainerProps, GeometryReaderProps, GroupProps, GroupBoxProps, ViewThatFitsProps, HostProps, LabeledContentProps, LazyHStackProps, LazyVStackProps, LazyVGridProps, LazyHGridProps, GridProps, GridRowProps, LinkProps, ListProps, MenuProps, NavigationSplitViewColumnProps, NavigationSplitViewProps, NavigationStackProps, OverlayContentProps, OverlayProps, ViewSlotProps, PageProps, PagerProps, PopoverProps, ScrollViewProps, ScrollViewReaderProps, SectionProps, SheetProps, SlotProps, SpacerProps, StackProps, SwipeActionsActionsProps, SwipeActionsProps, TabProps, TabSectionProps, TabsProps, TabViewBottomAccessoryProps, TabViewSlotProps, ToolbarItemGroupProps, ToolbarItemProps, ToolbarProps, ToolbarContentProps, ToolbarSpacerProps, ZStackProps, SDKAnimation, WithAnimationCompletionCriteria } from './types';
declare function Tabs(_props: TabsProps): never;
declare function Tab(_props: TabProps): never;
declare function TabSection(_props: TabSectionProps): never;
declare function TabViewBottomAccessory(_props: TabViewBottomAccessoryProps): never;
declare function TabViewSlot(_props: TabViewSlotProps): never;
declare function Menu(_props: MenuProps): never;
declare function ContextMenu(_props: ContextMenuProps): never;
declare function Sheet(_props: SheetProps): never;
declare function FullScreenCover(_props: FullScreenCoverProps): never;
declare function Popover(_props: PopoverProps): never;
declare function Host(_props: HostProps): never;
declare function HStack(_props: StackProps): never;
declare function VStack(_props: StackProps): never;
declare function ZStack(_props: ZStackProps): never;
declare function Spacer(_props: SpacerProps): never;
declare function Form(_props: FormProps): never;
declare function Section(_props: SectionProps): never;
declare function LabeledContent(_props: LabeledContentProps): never;
declare function GroupBox(_props: GroupBoxProps): never;
declare function ViewThatFits(_props: ViewThatFitsProps): never;
declare function Button(_props: ButtonProps): never;
declare function Glass(_props: GlassProps): never;
declare function GlassEffectContainer(_props: GlassEffectContainerProps): never;
declare function GeometryReader(_props: GeometryReaderProps): never;
declare function Slot(_props: SlotProps): never;
declare function List(_props: ListProps): never;
declare function ScrollViewReader(_props: ScrollViewReaderProps): never;
declare function ScrollView(_props: ScrollViewProps): never;
declare function LazyVStack(_props: LazyVStackProps): never;
declare function LazyHStack(_props: LazyHStackProps): never;
declare function LazyVGrid(_props: LazyVGridProps): never;
declare function LazyHGrid(_props: LazyHGridProps): never;
declare function Grid(_props: GridProps): never;
declare function GridRow(_props: GridRowProps): never;
declare function ControlGroup(_props: ControlGroupProps): never;
declare function DisclosureGroup(_props: DisclosureGroupProps): never;
declare function Divider(_props: DividerProps): never;
declare function Link(_props: LinkProps): never;
declare function Group(_props: GroupProps): never;
declare function OverlayContent(_props: OverlayContentProps): never;
declare function OverlayFn(_props: OverlayProps): never;
declare function ViewSlotFn(_props: ViewSlotProps): never;
declare function SwipeActionsActions(_props: SwipeActionsActionsProps): never;
declare function SwipeActionsFn(_props: SwipeActionsProps): never;
declare function Page(_props: PageProps): never;
declare function Pager(_props: PagerProps): never;
declare function NavigationStack(_props: NavigationStackProps): never;
declare function NavigationSplitViewFn(_props: NavigationSplitViewProps): never;
declare function NavigationSplitViewSidebar(_props: NavigationSplitViewColumnProps): never;
declare function NavigationSplitViewContent(_props: NavigationSplitViewColumnProps): never;
declare function NavigationSplitViewDetail(_props: NavigationSplitViewColumnProps): never;
declare function ToolbarMarker(_props: ToolbarProps): never;
declare function ToolbarContent(_props: ToolbarContentProps): never;
declare function ToolbarItem(_props: ToolbarItemProps): never;
declare function ToolbarItemGroup(_props: ToolbarItemGroupProps): never;
declare function ToolbarSpacer(_props: ToolbarSpacerProps): never;
import type { KeyframeAnimatorProps, KeyframeValue, PhaseAnimatorProps } from './animatorTypes';
import { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from './keyframes';
import type { MapWithControlsProps } from './mapControls';
declare function MapWithControlsStub(_props: MapWithControlsProps): never;
declare function PhaseAnimator<Phase>(_props: PhaseAnimatorProps<Phase>): never;
declare function KeyframeAnimator<Value extends KeyframeValue>(_props: KeyframeAnimatorProps<Value>): never;
export declare const Swift: {
Picker: (_props: import("./types").PickerProps) => never;
DatePicker: (_props: import("./types").DatePickerProps) => never;
ColorPicker: (_props: import("./types").ColorPickerProps) => never;
MultiDatePicker: (_props: import("./types").MultiDatePickerProps) => never;
Toggle: (_props: import("./types").ToggleProps) => never;
Slider: (_props: import("./types").SliderProps) => never;
Stepper: (_props: import("./types").StepperProps) => never;
PasteButton: (_props: import("./types").PasteButtonProps) => never;
Text: (_props: import("./types").TextProps) => never;
Label: (_props: import("./types").LabelProps) => never;
ProgressView: (_props: import("./types").ProgressViewProps) => never;
Gauge: (_props: import("./types").GaugeProps) => never;
Image: (_props: import("./types").ImageProps) => never;
ShareLink: (_props: import("./types").ShareLinkProps) => never;
ContentUnavailableView: (_props: import("./types").ContentUnavailableViewProps) => never;
Circle: (_props: import("./types").CircleProps) => never;
Capsule: (_props: import("./types").CapsuleProps) => never;
Rectangle: (_props: import("./types").RectangleProps) => never;
RoundedRectangle: (_props: import("./types").RoundedRectangleProps) => never;
Ellipse: (_props: import("./types").EllipseProps) => never;
UnevenRoundedRectangle: (_props: import("./types").UnevenRoundedRectangleProps) => never;
ConcentricRectangle: (_props: import("./types").ConcentricRectangleProps) => never;
LinearGradient: (_props: import("./types").LinearGradientProps) => never;
RadialGradient: (_props: import("./types").RadialGradientProps) => never;
EllipticalGradient: (_props: import("./types").EllipticalGradientProps) => never;
AngularGradient: (_props: import("./types").AngularGradientProps) => never;
MeshGradient: (_props: import("./types").MeshGradientProps) => never;
VideoPlayer: (_props: import("./types").VideoPlayerProps) => never;
LivePhotoView: (_props: import("./types").LivePhotoViewProps) => never;
PhotosPicker: (_props: import("./types").PhotosPickerProps) => never;
WebView: (_props: import("./types").WebViewProps) => never;
SignInWithAppleButton: (_props: import("./types").SignInWithAppleButtonProps) => never;
PayWithApplePayButton: (_props: import("./types").PayWithApplePayButtonProps) => never;
AddPassToWalletButton: (_props: import("./types").AddPassToWalletButtonProps) => never;
MapCompass: (_props: import("./types").MapCompassProps) => never;
MapPitchToggle: (_props: import("./types").MapPitchToggleProps) => never;
MapUserLocationButton: (_props: import("./types").MapUserLocationButtonProps) => never;
TextField: (_props: import("./types").TextFieldProps) => never;
SecureField: (_props: import("./types").SecureFieldProps) => never;
TextEditor: (_props: import("./types").TextEditorProps) => never;
Alert: (_props: import("./types").AlertProps) => never;
ConfirmationDialog: (_props: import("./types").ConfirmationDialogProps) => never;
QuickLook: (_props: import("./types").QuickLookProps) => never;
FileImporter: (_props: import("./types").FileImporterProps) => never;
Chart: (_props: import("./types").ChartProps) => never;
AsyncImage: (_props: import("./types").AsyncImageProps) => never;
EditButton: (_props: import("./types").EditButtonProps) => never;
EmptyView: (_props: import("./types").EmptyViewProps) => never;
LocationButton: (_props: import("./types").LocationButtonProps) => never;
ProductView: (_props: import("./types").ProductViewProps) => never;
RenameButton: (_props: import("./types").RenameButtonProps) => never;
ShortcutsLink: (_props: import("./types").ShortcutsLinkProps) => never;
StoreView: (_props: import("./types").StoreViewProps) => never;
SubscriptionStoreView: (_props: import("./types").SubscriptionStoreViewProps) => never;
ArrangementView: typeof import("./ArrangementView").ArrangementViewComponent & {
Primary: typeof import("./ArrangementView").ArrangementPrimary;
Secondary: typeof import("./ArrangementView").ArrangementSecondary;
Leading: typeof import("./ArrangementView").ArrangementPrimary;
Detail: typeof import("./ArrangementView").ArrangementSecondary;
};
Tabs: typeof Tabs;
Tab: typeof Tab;
TabSection: typeof TabSection;
TabViewBottomAccessory: typeof TabViewBottomAccessory;
TabViewSlot: typeof TabViewSlot;
Menu: typeof Menu;
ContextMenu: typeof ContextMenu;
Sheet: typeof Sheet;
FullScreenCover: typeof FullScreenCover;
Popover: typeof Popover;
Host: typeof Host;
HStack: typeof HStack;
VStack: typeof VStack;
ZStack: typeof ZStack;
Form: typeof Form;
Section: typeof Section;
Glass: typeof Glass;
GlassEffectContainer: typeof GlassEffectContainer;
GeometryReader: typeof GeometryReader;
LabeledContent: typeof LabeledContent;
Button: typeof Button;
Spacer: typeof Spacer;
Slot: typeof Slot;
List: typeof List;
ScrollView: typeof ScrollView;
ScrollViewReader: typeof ScrollViewReader;
LazyVStack: typeof LazyVStack;
LazyHStack: typeof LazyHStack;
LazyVGrid: typeof LazyVGrid;
LazyHGrid: typeof LazyHGrid;
Grid: typeof Grid;
GridRow: typeof GridRow;
ControlGroup: typeof ControlGroup;
DisclosureGroup: typeof DisclosureGroup;
Divider: typeof Divider;
Link: typeof Link;
Group: typeof Group;
GroupBox: typeof GroupBox;
ViewThatFits: typeof ViewThatFits;
Overlay: typeof OverlayFn & {
Content: typeof OverlayContent;
};
ViewSlot: typeof ViewSlotFn & {
Content: typeof OverlayContent;
};
SwipeActions: typeof SwipeActionsFn & {
Actions: typeof SwipeActionsActions;
};
Pager: typeof Pager;
Page: typeof Page;
NavigationStack: typeof NavigationStack;
NavigationSplitView: typeof NavigationSplitViewFn & {
Sidebar: typeof NavigationSplitViewSidebar;
Content: typeof NavigationSplitViewContent;
Detail: typeof NavigationSplitViewDetail;
};
Toolbar: typeof ToolbarMarker & {
Content: typeof ToolbarContent;
};
ToolbarItem: typeof ToolbarItem;
ToolbarItemGroup: typeof ToolbarItemGroup;
ToolbarSpacer: typeof ToolbarSpacer;
PhaseAnimator: typeof PhaseAnimator;
KeyframeAnimator: typeof KeyframeAnimator;
KeyframeTrack: typeof KeyframeTrack;
LinearKeyframe: typeof LinearKeyframe;
SpringKeyframe: typeof SpringKeyframe;
CubicKeyframe: typeof CubicKeyframe;
MoveKeyframe: typeof MoveKeyframe;
withAnimation(_animation: SDKAnimation | null, _body: () => void, _completion?: () => void, _completionCriteria?: WithAnimationCompletionCriteria): never;
Map: typeof MapWithControlsStub;
};
export type * from './types';
//# sourceMappingURL=unsupported.d.ts.map