From f6b1c4cad891fdd3b3612ed4c29ac37f090ef361 Mon Sep 17 00:00:00 2001 From: t <28008958+taeh98@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:52:20 +0100 Subject: [PATCH] remove empty jsdoc comments --- src/components/ListEmpty.js | 9 --- src/components/Picker.js | 118 ------------------------------ src/components/RenderBadgeItem.js | 17 ----- src/components/RenderListItem.js | 35 --------- 4 files changed, 179 deletions(-) diff --git a/src/components/ListEmpty.js b/src/components/ListEmpty.js index a9b7b83..675a477 100644 --- a/src/components/ListEmpty.js +++ b/src/components/ListEmpty.js @@ -2,15 +2,6 @@ import React, { memo } from 'react'; import { Text, View } from 'react-native'; -/** - * - * @param root0 - * @param root0.loading - * @param root0.message - * @param root0.ActivityIndicatorComponent - * @param root0.listMessageContainerStyle - * @param root0.listMessageTextStyle - */ function ListEmpty({ loading, message, diff --git a/src/components/Picker.js b/src/components/Picker.js index 81c8647..eb3bed6 100644 --- a/src/components/Picker.js +++ b/src/components/Picker.js @@ -49,124 +49,6 @@ import RenderListItem from './RenderListItem'; const { height: WINDOW_HEIGHT } = Dimensions.get('window'); -/** - * - * @param root0 - * @param root0.items - * @param root0.setItems - * @param root0.open - * @param root0.setOpen - * @param root0.value - * @param root0.setValue - * @param root0.activityIndicatorColor - * @param root0.ActivityIndicatorComponent - * @param root0.activityIndicatorSize - * @param root0.addCustomItem - * @param root0.ArrowDownIconComponent - * @param root0.arrowIconContainerStyle - * @param root0.arrowIconStyle - * @param root0.ArrowUpIconComponent - * @param root0.autoScroll - * @param root0.badgeColors - * @param root0.badgeDotColors - * @param root0.badgeDotStyle - * @param root0.badgeProps - * @param root0.badgeSeparatorStyle - * @param root0.badgeStyle - * @param root0.badgeTextStyle - * @param root0.bottomOffset - * @param root0.categorySelectable - * @param root0.closeAfterSelecting - * @param root0.CloseIconComponent - * @param root0.closeIconContainerStyle - * @param root0.closeIconStyle - * @param root0.closeOnBackPressed - * @param root0.containerProps - * @param root0.containerStyle - * @param root0.customItemContainerStyle - * @param root0.customItemLabelStyle - * @param root0.disableBorderRadius - * @param root0.disabled - * @param root0.disabledItemContainerStyle - * @param root0.disabledItemLabelStyle - * @param root0.disabledStyle - * @param root0.disableLocalSearch - * @param root0.dropDownContainerStyle - * @param root0.dropDownDirection - * @param root0.extendableBadgeContainer - * @param root0.flatListProps - * @param root0.hideSelectedItemIcon - * @param root0.iconContainerStyle - * @param root0.itemKey - * @param root0.itemLabelProps - * @param root0.itemProps - * @param root0.itemSeparator - * @param root0.itemSeparatorStyle - * @param root0.labelProps - * @param root0.labelStyle - * @param root0.language - * @param root0.listChildContainerStyle - * @param root0.listChildLabelStyle - * @param root0.ListEmptyComponent - * @param root0.listItemContainerStyle - * @param root0.listItemLabelStyle - * @param root0.listMessageContainerStyle - * @param root0.listMessageTextStyle - * @param root0.listMode - * @param root0.listParentContainerStyle - * @param root0.listParentLabelStyle - * @param root0.loading - * @param root0.max - * @param root0.maxHeight - * @param root0.min - * @param root0.modalAnimationType - * @param root0.modalContentContainerStyle - * @param root0.modalProps - * @param root0.modalTitle - * @param root0.modalTitleStyle - * @param root0.mode - * @param root0.multiple - * @param root0.multipleText - * @param root0.onChangeSearchText - * @param root0.onChangeValue - * @param root0.onClose - * @param root0.onDirectionChanged - * @param root0.onLayout - * @param root0.onOpen - * @param root0.onPress - * @param root0.onSelectItem - * @param root0.placeholder - * @param root0.placeholderStyle - * @param root0.props - * @param root0.renderBadgeItem - * @param root0.renderListItem - * @param root0.rtl - * @param root0.schema - * @param root0.scrollViewProps - * @param root0.searchable - * @param root0.searchContainerStyle - * @param root0.searchPlaceholder - * @param root0.searchPlaceholderTextColor - * @param root0.searchTextInputProps - * @param root0.searchTextInputStyle - * @param root0.searchWithRegionalAccents - * @param root0.selectedItemContainerStyle - * @param root0.selectedItemLabelStyle - * @param root0.showArrowIcon - * @param root0.showBadgeDot - * @param root0.showTickIcon - * @param root0.stickyHeader - * @param root0.style - * @param root0.testID - * @param root0.textStyle - * @param root0.theme - * @param root0.TickIconComponent - * @param root0.tickIconContainerStyle - * @param root0.tickIconStyle - * @param root0.translation - * @param root0.zIndex - * @param root0.zIndexInverse - */ function Picker({ items = [], setItems = () => {}, diff --git a/src/components/RenderBadgeItem.js b/src/components/RenderBadgeItem.js index 00c1645..4d6b716 100644 --- a/src/components/RenderBadgeItem.js +++ b/src/components/RenderBadgeItem.js @@ -4,23 +4,6 @@ import { Text, TouchableOpacity, View } from 'react-native'; import { RTL_DIRECTION, RTL_STYLE } from '../constants'; -/** - * - * @param root0 - * @param root0.rtl - * @param root0.label - * @param root0.props - * @param root0.value - * @param root0.textStyle - * @param root0.badgeStyle - * @param root0.badgeTextStyle - * @param root0.badgeDotStyle - * @param root0.getBadgeColor - * @param root0.getBadgeDotColor - * @param root0.showBadgeDot - * @param root0.onPress - * @param root0.THEME - */ function RenderBadge({ rtl, label, diff --git a/src/components/RenderListItem.js b/src/components/RenderListItem.js index e00c4b8..a8fad0a 100644 --- a/src/components/RenderListItem.js +++ b/src/components/RenderListItem.js @@ -2,41 +2,6 @@ import React, { memo, useCallback, useMemo } from 'react'; import { Text, TouchableOpacity } from 'react-native'; -/** - * - * @param root0 - * @param root0.rtl - * @param root0.item - * @param root0.label - * @param root0.value - * @param root0.parent - * @param root0.selectable - * @param root0.disabled - * @param root0.props - * @param root0.labelProps - * @param root0.custom - * @param root0.isSelected - * @param root0.IconComponent - * @param root0.TickIconComponent - * @param root0.listItemContainerStyle - * @param root0.listItemLabelStyle - * @param root0.listChildContainerStyle - * @param root0.listParentContainerStyle - * @param root0.listChildLabelStyle - * @param root0.listParentLabelStyle - * @param root0.customItemContainerStyle - * @param root0.customItemLabelStyle - * @param root0.selectedItemContainerStyle - * @param root0.selectedItemLabelStyle - * @param root0.disabledItemContainerStyle - * @param root0.disabledItemLabelStyle - * @param root0.containerStyle - * @param root0.labelStyle - * @param root0.categorySelectable - * @param root0.onPress - * @param root0.setPosition - * @param root0.THEME - */ function RenderListItem({ rtl, item,