src/utils/stories/commonProps.ts

Summary

Maintainability
A
2 hrs
Test Coverage
File `commonProps.ts` has 282 lines of code (exceeds 250 allowed). Consider refactoring.
export const commonProps = [
'about',
'accessKey',
'aria-activedescendant',
'aria-atomic',
'aria-autocomplete',
'aria-busy',
'aria-checked',
'aria-colcount',
'aria-colindex',
'aria-colspan',
'aria-controls',
'aria-current',
'aria-describedby',
'aria-details',
'aria-disabled',
'aria-dropeffect',
'aria-errormessage',
'aria-expanded',
'aria-flowto',
'aria-grabbed',
'aria-haspopup',
'aria-hidden',
'aria-invalid',
'aria-keyshortcuts',
'aria-label',
'aria-labelledby',
'aria-level',
'aria-live',
'aria-modal',
'aria-multiline',
'aria-multiselectable',
'aria-orientation',
'aria-owns',
'aria-placeholder',
'aria-posinset',
'aria-pressed',
'aria-readonly',
'aria-relevant',
'aria-required',
'aria-roledescription',
'aria-rowcount',
'aria-rowindex',
'aria-rowspan',
'aria-selected',
'aria-setsize',
'aria-sort',
'aria-valuemax',
'aria-valuemin',
'aria-valuenow',
'aria-valuetext',
'as',
'autoCapitalize',
'autoCorrect',
'autoSave',
'className',
'contentEditable',
'contextMenu',
'dangerouslySetInnerHTML',
'datatype',
'defaultChecked',
'defaultValue',
'dir',
'draggable',
'hidden',
'id',
'inlist',
'inputMode',
'is',
'itemID',
'itemProp',
'itemRef',
'itemScope',
'itemType',
'key',
'lang',
'onAbort',
'onAbortCapture',
'onAnimationEnd',
'onAnimationEndCapture',
'onAnimationIteration',
'onAnimationIterationCapture',
'onAnimationStart',
'onAnimationStartCapture',
'onBeforeInput',
'onBeforeInputCapture',
'onBlur',
'onBlurCapture',
'onCanPlay',
'onCanPlayCapture',
'onCanPlayThrough',
'onCanPlayThroughCapture',
'onChange',
'onChangeCapture',
'onClick',
'onClickCapture',
'onCompositionEnd',
'onCompositionEndCapture',
'onCompositionStart',
'onCompositionStartCapture',
'onCompositionUpdate',
'onCompositionUpdateCapture',
'onContextMenu',
'onContextMenuCapture',
'onCopy',
'onCopyCapture',
'onCut',
'onCutCapture',
'onDoubleClick',
'onDoubleClickCapture',
'onDrag',
'onDragCapture',
'onDragEnd',
'onDragEndCapture',
'onDragEnter',
'onDragEnterCapture',
'onDragExit',
'onDragExitCapture',
'onDragLeave',
'onDragLeaveCapture',
'onDragOver',
'onDragOverCapture',
'onDragStart',
'onDragStartCapture',
'onDrop',
'onDropCapture',
'onDurationChange',
'onDurationChangeCapture',
'onEmptied',
'onEmptiedCapture',
'onEncrypted',
'onEncryptedCapture',
'onEnded',
'onEndedCapture',
'onError',
'onErrorCapture',
'onFocus',
'onFocusCapture',
'onGotPointerCapture',
'onGotPointerCaptureCapture',
'onInput',
'onInputCapture',
'onInvalid',
'onInvalidCapture',
'onKeyDown',
'onKeyDownCapture',
'onKeyPress',
'onKeyPressCapture',
'onKeyUp',
'onKeyUpCapture',
'onLoad',
'onLoadCapture',
'onLoadStart',
'onLoadStartCapture',
'onLoadedData',
'onLoadedDataCapture',
'onLoadedMetadata',
'onLoadedMetadataCapture',
'onLostPointerCapture',
'onLostPointerCaptureCapture',
'onMouseDown',
'onMouseDownCapture',
'onMouseEnter',
'onMouseLeave',
'onMouseMove',
'onMouseMoveCapture',
'onMouseOut',
'onMouseOutCapture',
'onMouseOver',
'onMouseOverCapture',
'onMouseUp',
'onMouseUpCapture',
'onPaste',
'onPasteCapture',
'onPause',
'onPauseCapture',
'onPlay',
'onPlayCapture',
'onPlaying',
'onPlayingCapture',
'onPointerCancel',
'onPointerCancelCapture',
'onPointerDown',
'onPointerDownCapture',
'onPointerEnter',
'onPointerEnterCapture',
'onPointerLeave',
'onPointerLeaveCapture',
'onPointerMove',
'onPointerMoveCapture',
'onPointerOut',
'onPointerOutCapture',
'onPointerOver',
'onPointerOverCapture',
'onPointerUp',
'onPointerUpCapture',
'onProgress',
'onProgressCapture',
'onRateChange',
'onRateChangeCapture',
'onReset',
'onResetCapture',
'onScroll',
'onScrollCapture',
'onSeeked',
'onSeekedCapture',
'onSeeking',
'onSeekingCapture',
'onSelect',
'onSelectCapture',
'onStalled',
'onStalledCapture',
'onSubmit',
'onSubmitCapture',
'onSuspend',
'onSuspendCapture',
'onTimeUpdate',
'onTimeUpdateCapture',
'onTouchCancel',
'onTouchCancelCapture',
'onTouchEnd',
'onTouchEndCapture',
'onTouchMove',
'onTouchMoveCapture',
'onTouchStart',
'onTouchStartCapture',
'onTransitionEnd',
'onTransitionEndCapture',
'onVolumeChange',
'onVolumeChangeCapture',
'onWaiting',
'onWaitingCapture',
'onWheel',
'onWheelCapture',
'placeholder',
'prefix',
'property',
'radioGroup',
'ref',
'resource',
'results',
'role',
'security',
'slot',
'spellCheck',
'style',
'suppressContentEditableWarning',
'suppressHydrationWarning',
'tabIndex',
'theme',
'title',
'typeof',
'unselectable',
'vocab',
'accept',
'alt',
'autoComplete',
'autoFocus',
'capture',
'checked',
'crossOrigin',
'disabled',
'form',
'formAction',
'formEncType',
'formMethod',
'formNoValidate',
'formTarget',
'list',
'max',
'maxLength',
'min',
'minLength',
'multiple',
'name',
'pattern',
'readOnly',
'size',
'src',
'step',
'type'
]