@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
23 lines (22 loc) • 715 B
TypeScript
import type { SelectionRange } from "../../stores/inputChoice";
import type { BaseComponent } from "../base";
import type { StackProps } from "./stack";
export interface InputSingleChoiceProps extends BaseComponent {
type: "input_single_choice";
field_id: string;
stack: StackProps;
required?: boolean;
selection_range?: SelectionRange | null;
}
export interface InputMultipleChoiceProps extends BaseComponent {
type: "input_multiple_choice";
field_id: string;
stack: StackProps;
required?: boolean;
selection_range?: SelectionRange | null;
}
export interface InputOptionProps extends BaseComponent {
type: "input_option";
option_id: string;
stack: StackProps;
}