• Parameters

    • props: {
          children: ReactNode;
          closeOnAction?: boolean;
          closeOnTouchOutside?: boolean;
          leftActions?: Action[];
          onAction?: ((action, e) => void);
          onActionsReveal?: ((side) => void);
          rightActions?: Action[];
          stopPropagation?: "click"[];
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--background", string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<SwipeActionRef>

    Returns ReactNode

Properties

$$typeof: symbol
defaultProps?: Partial<{
    children: ReactNode;
    closeOnAction?: boolean;
    closeOnTouchOutside?: boolean;
    leftActions?: Action[];
    onAction?: ((action, e) => void);
    onActionsReveal?: ((side) => void);
    rightActions?: Action[];
    stopPropagation?: "click"[];
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--background", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<SwipeActionRef>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<{
    children: ReactNode;
    closeOnAction?: boolean;
    closeOnTouchOutside?: boolean;
    leftActions?: Action[];
    onAction?: ((action, e) => void);
    onActionsReveal?: ((side) => void);
    rightActions?: Action[];
    stopPropagation?: "click"[];
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--background", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<SwipeActionRef>>

Generated using TypeDoc