react-component / react-component/table
src/Header/FixedHeader.tsx need to use TableComponent from getComponent
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 618
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 2
Description
line 22 const { prefixCls, scrollbarSize, getComponent } = React.useContext(TableContext);
// some where before return
const TableComponent = getComponent(['table'], 'table');
line 60 change <table ... to <TableComponent
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open src/Header/FixedHeader.tsx and review the TableContext usage around lines 22 and 60. Check how getComponent is obtained, then update the fixed header's table element to use the component returned for the table; done means the requested TableComponent is used there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100