clauderic / clauderic/react-sortable-hoc

add more typescript tips

Open
#798 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

ts project need more ts tips

```js
export function sortableContainer

(
wrappedComponent: WrappedComponent

,
config?: Config,
): React.ComponentClass

;

export function sortableElement

(
wrappedComponent: WrappedComponent

,
config?: Config,
): React.ComponentClass

;

export function sortableHandle

(
wrappedComponent: WrappedComponent

,
config?: Config,
): React.ComponentClass

;

```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides TypeScript declaration examples for sortableContainer, sortableElement, and sortableHandle, but names no file, documentation page, or test. Start by locating the project's TypeScript documentation or declaration examples; done means adding the requested tips in the appropriate location and verifying the examples remain accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation, frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.