Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(table): add some prop to table #203

Merged
merged 1 commit into from
Sep 15, 2020
Merged

feat(table): add some prop to table #203

merged 1 commit into from
Sep 15, 2020

Conversation

LEEHONCN
Copy link
Contributor

@LEEHONCN LEEHONCN commented Sep 11, 2020

affects: @gio-design/components, website

add rowKey, rowClassName, onRow, onHeaderRow, showHover, showHeader prop to table.
add className, onHeaderCell prop to column.
refacter style file.
key is not must set, it default use dataIndex or index.

Related issue link

Changelog

add rowKey, rowClassName, onRow, onHeaderRow, showHover, showHeader prop to table.
add className, onHeaderCell prop to column.
key is not must set, it default use dataIndex or index.

Language Changelog
🇺🇸 English add some prop
🇨🇳 Chinese table 添加一些 参数

Self check

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@codecov
Copy link

codecov bot commented Sep 11, 2020

Codecov Report

Merging #203 into master will decrease coverage by 0.07%.
The diff coverage is 71.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #203      +/-   ##
==========================================
- Coverage   70.10%   70.02%   -0.08%     
==========================================
  Files          90       90              
  Lines        2378     2392      +14     
  Branches      606      611       +5     
==========================================
+ Hits         1667     1675       +8     
- Misses        707      713       +6     
  Partials        4        4              
Impacted Files Coverage Δ
...components/src/components/table/hook/useSorter.tsx 54.54% <50.00%> (-2.28%) ⬇️
packages/components/src/components/table/Table.tsx 89.09% <76.00%> (-8.64%) ⬇️
...onents/src/components/table/hook/usePagination.tsx 83.87% <80.00%> (+1.11%) ⬆️
...components/src/components/table/hook/useFilter.tsx 86.20% <85.71%> (+0.49%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3df51b5...9d64f93. Read the comment docs.

@azure-pipelines
Copy link

Deploy preview for ready! ✅ https://deploy-preview-203--gio-design.surge.sh

1 similar comment
@azure-pipelines
Copy link

Deploy preview for ready! ✅ https://deploy-preview-203--gio-design.surge.sh

@phyzess phyzess requested review from jack0pan and huskylengcb and removed request for jack0pan September 15, 2020 02:51
@azure-pipelines
Copy link

Deploy preview for gio-design failed.

affects: @gio-design/components, website
@azure-pipelines
Copy link

Deploy preview for ready! ✅ https://deploy-preview-203--gio-design.surge.sh

@LEEHONCN LEEHONCN merged commit dc5ebdb into growingio:master Sep 15, 2020
@LEEHONCN LEEHONCN deleted the table-add branch November 4, 2020 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants