Skip to content

Commit

Permalink
fix: whitespaces before comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMuzyk committed Jun 4, 2024
1 parent 2ca5e3c commit a5ad54a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/pages/workspace/workflows/ToggleSettingsOptionRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,43 @@ import type IconAsset from '@src/types/utils/IconAsset';
type ToggleSettingOptionRowProps = {
/** Icon to be shown for the option */
icon?: IconAsset;

/** Title of the option */
title?: string;

/** Custom title for the option */
customTitle?: React.ReactNode;

/** Subtitle of the option */
subtitle?: string;

/** Accessibility label for the switch */
switchAccessibilityLabel: string;

/** subtitle should show below switch and title */
shouldPlaceSubtitleBelowSwitch?: boolean;

/** Used to apply styles to the outermost container */
wrapperStyle?: StyleProp<ViewStyle>;

/** Whether the option is enabled or not */
isActive: boolean;

/** Callback to be called when the switch is toggled */
onToggle: (isEnabled: boolean) => void;

/** SubMenuItems will be shown when the option is enabled */
subMenuItems?: React.ReactNode;

/** If there is a pending action, we will grey out the option */
pendingAction?: PendingAction;

/** Any error message to show */
errors?: Errors;

/** Callback to close the error messages */
onCloseError?: () => void;

/** Whether the toggle should be disabled */
disabled?: boolean;

Expand Down

0 comments on commit a5ad54a

Please sign in to comment.