one
Version:
One is a React framework for web, iOS, and Android apps.
226 lines (225 loc) • 8.42 kB
text/typescript
// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.
// edit the generator or catalog, then regenerate.
import type * as Types from './controlTypes'
function Picker(_props: Types.PickerProps): never {
throw new Error('Swift.Picker requires an iOS native build')
}
function DatePicker(_props: Types.DatePickerProps): never {
throw new Error('Swift.DatePicker requires an iOS native build')
}
function ColorPicker(_props: Types.ColorPickerProps): never {
throw new Error('Swift.ColorPicker requires an iOS native build')
}
function MultiDatePicker(_props: Types.MultiDatePickerProps): never {
throw new Error('Swift.MultiDatePicker requires an iOS native build')
}
function Toggle(_props: Types.ToggleProps): never {
throw new Error('Swift.Toggle requires an iOS native build')
}
function Slider(_props: Types.SliderProps): never {
throw new Error('Swift.Slider requires an iOS native build')
}
function Stepper(_props: Types.StepperProps): never {
throw new Error('Swift.Stepper requires an iOS native build')
}
function PasteButton(_props: Types.PasteButtonProps): never {
throw new Error('Swift.PasteButton requires an iOS native build')
}
function Text(_props: Types.TextProps): never {
throw new Error('Swift.Text requires an iOS native build')
}
function Label(_props: Types.LabelProps): never {
throw new Error('Swift.Label requires an iOS native build')
}
function ProgressView(_props: Types.ProgressViewProps): never {
throw new Error('Swift.ProgressView requires an iOS native build')
}
function Gauge(_props: Types.GaugeProps): never {
throw new Error('Swift.Gauge requires an iOS native build')
}
function Image(_props: Types.ImageProps): never {
throw new Error('Swift.Image requires an iOS native build')
}
function ShareLink(_props: Types.ShareLinkProps): never {
throw new Error('Swift.ShareLink requires an iOS native build')
}
function ContentUnavailableView(_props: Types.ContentUnavailableViewProps): never {
throw new Error('Swift.ContentUnavailableView requires an iOS native build')
}
function Circle(_props: Types.CircleProps): never {
throw new Error('Swift.Circle requires an iOS native build')
}
function Capsule(_props: Types.CapsuleProps): never {
throw new Error('Swift.Capsule requires an iOS native build')
}
function Rectangle(_props: Types.RectangleProps): never {
throw new Error('Swift.Rectangle requires an iOS native build')
}
function RoundedRectangle(_props: Types.RoundedRectangleProps): never {
throw new Error('Swift.RoundedRectangle requires an iOS native build')
}
function Ellipse(_props: Types.EllipseProps): never {
throw new Error('Swift.Ellipse requires an iOS native build')
}
function UnevenRoundedRectangle(_props: Types.UnevenRoundedRectangleProps): never {
throw new Error('Swift.UnevenRoundedRectangle requires an iOS native build')
}
function ConcentricRectangle(_props: Types.ConcentricRectangleProps): never {
throw new Error('Swift.ConcentricRectangle requires an iOS native build')
}
function LinearGradient(_props: Types.LinearGradientProps): never {
throw new Error('Swift.LinearGradient requires an iOS native build')
}
function RadialGradient(_props: Types.RadialGradientProps): never {
throw new Error('Swift.RadialGradient requires an iOS native build')
}
function EllipticalGradient(_props: Types.EllipticalGradientProps): never {
throw new Error('Swift.EllipticalGradient requires an iOS native build')
}
function AngularGradient(_props: Types.AngularGradientProps): never {
throw new Error('Swift.AngularGradient requires an iOS native build')
}
function MeshGradient(_props: Types.MeshGradientProps): never {
throw new Error('Swift.MeshGradient requires an iOS native build')
}
function VideoPlayer(_props: Types.VideoPlayerProps): never {
throw new Error('Swift.VideoPlayer requires an iOS native build')
}
function LivePhotoView(_props: Types.LivePhotoViewProps): never {
throw new Error('Swift.LivePhotoView requires an iOS native build')
}
function PhotosPicker(_props: Types.PhotosPickerProps): never {
throw new Error('Swift.PhotosPicker requires an iOS native build')
}
function WebView(_props: Types.WebViewProps): never {
throw new Error('Swift.WebView requires an iOS native build')
}
function SignInWithAppleButton(_props: Types.SignInWithAppleButtonProps): never {
throw new Error('Swift.SignInWithAppleButton requires an iOS native build')
}
function PayWithApplePayButton(_props: Types.PayWithApplePayButtonProps): never {
throw new Error('Swift.PayWithApplePayButton requires an iOS native build')
}
function AddPassToWalletButton(_props: Types.AddPassToWalletButtonProps): never {
throw new Error('Swift.AddPassToWalletButton requires an iOS native build')
}
function Map(_props: Types.MapProps): never {
throw new Error('Swift.Map requires an iOS native build')
}
function MapCompass(_props: Types.MapCompassProps): never {
throw new Error('Swift.MapCompass requires an iOS native build')
}
function MapPitchToggle(_props: Types.MapPitchToggleProps): never {
throw new Error('Swift.MapPitchToggle requires an iOS native build')
}
function MapUserLocationButton(_props: Types.MapUserLocationButtonProps): never {
throw new Error('Swift.MapUserLocationButton requires an iOS native build')
}
function TextField(_props: Types.TextFieldProps): never {
throw new Error('Swift.TextField requires an iOS native build')
}
function SecureField(_props: Types.SecureFieldProps): never {
throw new Error('Swift.SecureField requires an iOS native build')
}
function TextEditor(_props: Types.TextEditorProps): never {
throw new Error('Swift.TextEditor requires an iOS native build')
}
function Alert(_props: Types.AlertProps): never {
throw new Error('Swift.Alert requires an iOS native build')
}
function ConfirmationDialog(_props: Types.ConfirmationDialogProps): never {
throw new Error('Swift.ConfirmationDialog requires an iOS native build')
}
function QuickLook(_props: Types.QuickLookProps): never {
throw new Error('Swift.QuickLook requires an iOS native build')
}
function FileImporter(_props: Types.FileImporterProps): never {
throw new Error('Swift.FileImporter requires an iOS native build')
}
function Chart(_props: Types.ChartProps): never {
throw new Error('Swift.Chart requires an iOS native build')
}
function AsyncImage(_props: Types.AsyncImageProps): never {
throw new Error('Swift.AsyncImage requires an iOS native build')
}
function EditButton(_props: Types.EditButtonProps): never {
throw new Error('Swift.EditButton requires an iOS native build')
}
function EmptyView(_props: Types.EmptyViewProps): never {
throw new Error('Swift.EmptyView requires an iOS native build')
}
function LocationButton(_props: Types.LocationButtonProps): never {
throw new Error('Swift.LocationButton requires an iOS native build')
}
function ProductView(_props: Types.ProductViewProps): never {
throw new Error('Swift.ProductView requires an iOS native build')
}
function RenameButton(_props: Types.RenameButtonProps): never {
throw new Error('Swift.RenameButton requires an iOS native build')
}
function ShortcutsLink(_props: Types.ShortcutsLinkProps): never {
throw new Error('Swift.ShortcutsLink requires an iOS native build')
}
function StoreView(_props: Types.StoreViewProps): never {
throw new Error('Swift.StoreView requires an iOS native build')
}
function SubscriptionStoreView(_props: Types.SubscriptionStoreViewProps): never {
throw new Error('Swift.SubscriptionStoreView requires an iOS native build')
}
export const unsupportedControls = {
Picker,
DatePicker,
ColorPicker,
MultiDatePicker,
Toggle,
Slider,
Stepper,
PasteButton,
Text,
Label,
ProgressView,
Gauge,
Image,
ShareLink,
ContentUnavailableView,
Circle,
Capsule,
Rectangle,
RoundedRectangle,
Ellipse,
UnevenRoundedRectangle,
ConcentricRectangle,
LinearGradient,
RadialGradient,
EllipticalGradient,
AngularGradient,
MeshGradient,
VideoPlayer,
LivePhotoView,
PhotosPicker,
WebView,
SignInWithAppleButton,
PayWithApplePayButton,
AddPassToWalletButton,
Map,
MapCompass,
MapPitchToggle,
MapUserLocationButton,
TextField,
SecureField,
TextEditor,
Alert,
ConfirmationDialog,
QuickLook,
FileImporter,
Chart,
AsyncImage,
EditButton,
EmptyView,
LocationButton,
ProductView,
RenameButton,
ShortcutsLink,
StoreView,
SubscriptionStoreView,
}