UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

57 lines • 11.3 kB
import type * as Types from './controlTypes'; export declare function Picker({ selection, onSelectionChange, revision, label, disabled, options, pickerStyle, swiftStyle, style, ...props }: Types.PickerProps): import("react/jsx-runtime").JSX.Element; export declare function DatePicker({ selection, onSelectionChange, revision, label, disabled, minimumDate, maximumDate, displayedComponents, datePickerStyle, swiftStyle, style, ...props }: Types.DatePickerProps): import("react/jsx-runtime").JSX.Element; export declare function ColorPicker({ selection, onSelectionChange, revision, label, disabled, supportsOpacity, swiftStyle, style, ...props }: Types.ColorPickerProps): import("react/jsx-runtime").JSX.Element; export declare function MultiDatePicker({ selection, onSelectionChange, revision, label, disabled, minimumDate, maximumDate, swiftStyle, style, ...props }: Types.MultiDatePickerProps): import("react/jsx-runtime").JSX.Element; export declare function Toggle({ isOn, onIsOnChange, revision, label, disabled, systemImage, toggleStyle, swiftStyle, style, ...props }: Types.ToggleProps): import("react/jsx-runtime").JSX.Element; export declare function Slider({ value, onValueChange, revision, label, disabled, minimumValue, maximumValue, step, minimumValueLabel, maximumValueLabel, minimumValueImage, maximumValueImage, swiftStyle, style, ...props }: Types.SliderProps): import("react/jsx-runtime").JSX.Element; export declare function Stepper({ value, onValueChange, revision, label, disabled, minimumValue, maximumValue, step, swiftStyle, style, ...props }: Types.StepperProps): import("react/jsx-runtime").JSX.Element; export declare function PasteButton({ onPaste, disabled, swiftStyle, style, ...props }: Types.PasteButtonProps): import("react/jsx-runtime").JSX.Element; export declare function Text({ text, swiftStyle, style, ...props }: Types.TextProps): import("react/jsx-runtime").JSX.Element; export declare function Label({ label, disabled, systemImage, swiftStyle, style, ...props }: Types.LabelProps): import("react/jsx-runtime").JSX.Element; export declare function ProgressView({ label, disabled, value, total, progressViewStyle, swiftStyle, style, ...props }: Types.ProgressViewProps): import("react/jsx-runtime").JSX.Element; export declare function Gauge({ label, disabled, value, minimumValue, maximumValue, currentValueLabel, minimumValueLabel, maximumValueLabel, gaugeStyle, swiftStyle, style, ...props }: Types.GaugeProps): import("react/jsx-runtime").JSX.Element; export declare function Image({ systemName, uri, renderingMode, symbolRenderingMode, symbolVariant, imageScale, variableValue, colorRole, resizable, swiftStyle, style, ...props }: Types.ImageProps): import("react/jsx-runtime").JSX.Element; export declare function ShareLink({ label, disabled, systemImage, item, itemType, subject, message, swiftStyle, style, ...props }: Types.ShareLinkProps): import("react/jsx-runtime").JSX.Element; export declare function ContentUnavailableView({ onAction, title, systemImage, description, actions, swiftStyle, style, ...props }: Types.ContentUnavailableViewProps): import("react/jsx-runtime").JSX.Element; export declare function Circle({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: Types.CircleProps): import("react/jsx-runtime").JSX.Element; export declare function Capsule({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: Types.CapsuleProps): import("react/jsx-runtime").JSX.Element; export declare function Rectangle({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: Types.RectangleProps): import("react/jsx-runtime").JSX.Element; export declare function RoundedRectangle({ fill, strokeBorder, lineWidth, cornerRadius, swiftStyle, style, ...props }: Types.RoundedRectangleProps): import("react/jsx-runtime").JSX.Element; export declare function Ellipse({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: Types.EllipseProps): import("react/jsx-runtime").JSX.Element; export declare function UnevenRoundedRectangle({ fill, strokeBorder, lineWidth, topLeadingRadius, bottomLeadingRadius, bottomTrailingRadius, topTrailingRadius, swiftStyle, style, ...props }: Types.UnevenRoundedRectangleProps): import("react/jsx-runtime").JSX.Element; export declare function ConcentricRectangle({ fill, swiftStyle, style, ...props }: Types.ConcentricRectangleProps): import("react/jsx-runtime").JSX.Element; export declare function LinearGradient({ colors, startPoint, endPoint, swiftStyle, style, ...props }: Types.LinearGradientProps): import("react/jsx-runtime").JSX.Element; export declare function RadialGradient({ colors, center, startRadius, endRadius, swiftStyle, style, ...props }: Types.RadialGradientProps): import("react/jsx-runtime").JSX.Element; export declare function EllipticalGradient({ colors, center, startRadiusFraction, endRadiusFraction, swiftStyle, style, ...props }: Types.EllipticalGradientProps): import("react/jsx-runtime").JSX.Element; export declare function AngularGradient({ colors, center, angle, swiftStyle, style, ...props }: Types.AngularGradientProps): import("react/jsx-runtime").JSX.Element; export declare function MeshGradient({ meshWidth, meshHeight, points, colors, background, smoothsColors, colorSpace, swiftStyle, style, ...props }: Types.MeshGradientProps): import("react/jsx-runtime").JSX.Element; export declare function VideoPlayer({ onPlaybackStatus, url, autoplay, command, commandRevision, seekToMs, swiftStyle, style, ...props }: Types.VideoPlayerProps): import("react/jsx-runtime").JSX.Element; export declare function LivePhotoView({ onPlaybackState, assetIdentifier, autoplay, command, commandRevision, swiftStyle, style, ...props }: Types.LivePhotoViewProps): import("react/jsx-runtime").JSX.Element; export declare function PhotosPicker({ onPick, onPickItemIdentifier, onPickError, label, disabled, systemImage, maxSelectionCount, selectionBehavior, filter, preferredItemEncoding, swiftStyle, style, ...props }: Types.PhotosPickerProps): import("react/jsx-runtime").JSX.Element; export declare function WebView({ onNavigate, onTitleChange, onLoadingChange, onLoadStart, onLoadEnd, onError, onHttpError, onMessage, onHistoryChange, onProcessTerminate, url, html, script, command, commandRevision, commandValue, limitsNavigationsToAppBoundDomains, inlineMedia, inspectable, bounces, backForwardNavigationGestures, magnificationGestures, linkPreviews, elementFullscreen, contentBackground, swiftStyle, style, ...props }: Types.WebViewProps): import("react/jsx-runtime").JSX.Element; export declare function SignInWithAppleButton({ onCompletion, requestedScopes, nonce, label, swiftStyle, style, ...props }: Types.SignInWithAppleButtonProps): import("react/jsx-runtime").JSX.Element; export declare function PayWithApplePayButton({ onPress, label, payWithApplePayButtonStyle, disabled, swiftStyle, style, ...props }: Types.PayWithApplePayButtonProps): import("react/jsx-runtime").JSX.Element; export declare function AddPassToWalletButton({ onPress, addPassToWalletButtonStyle, disabled, swiftStyle, style, ...props }: Types.AddPassToWalletButtonProps): import("react/jsx-runtime").JSX.Element; export declare function Map({ onRegionChange, latitude, longitude, distance, markers, swiftStyle, style, ...props }: Types.MapProps): import("react/jsx-runtime").JSX.Element; export declare function MapCompass({ swiftStyle, style, ...props }: Types.MapCompassProps): import("react/jsx-runtime").JSX.Element; export declare function MapPitchToggle({ swiftStyle, style, ...props }: Types.MapPitchToggleProps): import("react/jsx-runtime").JSX.Element; export declare function MapUserLocationButton({ swiftStyle, style, ...props }: Types.MapUserLocationButtonProps): import("react/jsx-runtime").JSX.Element; export declare function TextField({ text, onTextChange, revision, focused, onFocusChange, focusRevision, onSubmit, label, disabled, prompt, textFieldStyle, submitLabel, textInputAutocapitalization, autocorrectionDisabled, keyboardType, textContentType, axis, swiftStyle, style, ...props }: Types.TextFieldProps): import("react/jsx-runtime").JSX.Element; export declare function SecureField({ text, onTextChange, revision, focused, onFocusChange, focusRevision, onSubmit, label, disabled, prompt, textFieldStyle, submitLabel, textInputAutocapitalization, autocorrectionDisabled, keyboardType, textContentType, swiftStyle, style, ...props }: Types.SecureFieldProps): import("react/jsx-runtime").JSX.Element; export declare function TextEditor({ text, onTextChange, revision, focused, onFocusChange, focusRevision, disabled, textInputAutocapitalization, autocorrectionDisabled, keyboardType, textContentType, swiftStyle, style, ...props }: Types.TextEditorProps): import("react/jsx-runtime").JSX.Element; export declare function Alert({ isPresented, onIsPresentedChange, revision, onAction, title, message, presenting, actions, swiftStyle, style, ...props }: Types.AlertProps): import("react/jsx-runtime").JSX.Element; export declare function ConfirmationDialog({ isPresented, onIsPresentedChange, revision, onAction, title, message, presenting, actions, titleVisibility, swiftStyle, style, ...props }: Types.ConfirmationDialogProps): import("react/jsx-runtime").JSX.Element; export declare function QuickLook({ isPresented, onIsPresentedChange, revision, url, swiftStyle, style, ...props }: Types.QuickLookProps): import("react/jsx-runtime").JSX.Element; export declare function FileImporter({ isPresented, onIsPresentedChange, revision, onCompletion, allowedContentTypes, allowsMultipleSelection, swiftStyle, style, ...props }: Types.FileImporterProps): import("react/jsx-runtime").JSX.Element; export declare function Chart({ data, type, showGrid, animate, showLegend, referenceLines, lineStyle, pointStyle, areaStyle, barStyle, pieStyle, rectangleStyle, ruleStyle, swiftStyle, style, ...props }: Types.ChartProps): import("react/jsx-runtime").JSX.Element; export declare function AsyncImage({ url, scale, swiftStyle, style, ...props }: Types.AsyncImageProps): import("react/jsx-runtime").JSX.Element; export declare function EditButton({ swiftStyle, style, ...props }: Types.EditButtonProps): import("react/jsx-runtime").JSX.Element; export declare function EmptyView({ swiftStyle, style, ...props }: Types.EmptyViewProps): import("react/jsx-runtime").JSX.Element; export declare function LocationButton({ onAction, title, swiftStyle, style, ...props }: Types.LocationButtonProps): import("react/jsx-runtime").JSX.Element; export declare function ProductView({ id, prefersPromotionalIcon, swiftStyle, style, ...props }: Types.ProductViewProps): import("react/jsx-runtime").JSX.Element; export declare function RenameButton({ swiftStyle, style, ...props }: Types.RenameButtonProps): import("react/jsx-runtime").JSX.Element; export declare function ShortcutsLink({ onAction, swiftStyle, style, ...props }: Types.ShortcutsLinkProps): import("react/jsx-runtime").JSX.Element; export declare function StoreView({ ids, prefersPromotionalIcon, swiftStyle, style, ...props }: Types.StoreViewProps): import("react/jsx-runtime").JSX.Element; export declare function SubscriptionStoreView({ groupID, visibleRelationships, productIDs, swiftStyle, style, ...props }: Types.SubscriptionStoreViewProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Controls.native.d.ts.map