Web: Components: CatalogItem - descriptions changed

This commit is contained in:
Sergei Kosyrev 2023-04-06 18:53:50 +05:30
parent 6bf5a8c03a
commit 6cbddb924c

View File

@ -144,33 +144,33 @@ CatalogItem.propTypes = {
icon: PropTypes.string,
/** Catalog item text */
text: PropTypes.string,
/** Tells when the catalog item should display text */
/** Sets the catalog item to display text */
showText: PropTypes.bool,
/** Call function when user clicked on catalog item */
/** Invokes a function upon clicking on a catalog item */
onClick: PropTypes.func,
/** Call function when user mouse up on catalog item with dragging */
/** Invokes a function upon dragging and dropping a catalog item */
onDrop: PropTypes.func,
/** Tells when the catalog item should display initial on icon, text should be hidden */
showInitial: PropTypes.bool,
/** Tells when the catalog item should be end of block */
/** Sets the catalog item as end of block */
isEndOfBlock: PropTypes.bool,
/** Tells when the catalog item should be active */
/** Sets catalog item active */
isActive: PropTypes.bool,
/** Tells when the catalog item available for drag`n`drop */
/** Sets the catalog item available for drag`n`drop */
isDragging: PropTypes.bool,
/** Tells when the catalog item active for drag`n`drop */
/** Sets the catalog item active for drag`n`drop */
isDragActive: PropTypes.bool,
/** Tells when the catalog item should display badge */
/** Sets the catalog item to display badge */
showBadge: PropTypes.bool,
/** Label in catalog item badge */
labelBadge: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
/** Special icon for badge, change default badge */
/** Sets custom badge icon */
iconBadge: PropTypes.string,
/** Call function when user clicked on catalog item badge */
/** Invokes a function upon clicking on the catalog item badge */
onClickBadge: PropTypes.func,
/** Call when catalog item show as header */
/** Sets the catalog item to be displayed as a header */
isHeader: PropTypes.bool,
/** Disable margin top for catalog item header */
/** Disables margin top for catalog item header */
isFirstHeader: PropTypes.bool,
folderId: PropTypes.string,
};