CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Interface FeatureRequestComposeSheetProps

    Props for configuring the FeatureRequestComposeSheet modal or embedded form.

    interface FeatureRequestComposeSheetProps {
        initialDraft?: Partial<FeatureRequestDraft>;
        isModal?: boolean;
        onClose?: () => void;
        onSubmitSuccess?: (result: FeatureRequestSubmissionResult) => void;
        visible?: boolean;
    }
    Index
    initialDraft?: Partial<FeatureRequestDraft>

    Pre-filled initial values for the feature request proposal.

    isModal?: boolean

    Whether to wrap the form in a native React Native full-screen <Modal>. Set to false when embedding directly in an existing screen layout.

    true

    onClose?: () => void

    Callback invoked when the user dismisses the sheet without submitting.

    onSubmitSuccess?: (result: FeatureRequestSubmissionResult) => void

    Callback invoked when the feature request is successfully submitted to the server.

    visible?: boolean

    Whether the modal dialog is currently visible (when isModal is true).

    true