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: ImagePicker support customized length #2700

Merged
merged 1 commit into from
Jul 12, 2018
Merged

Conversation

ziluo
Copy link
Contributor

@ziluo ziluo commented Jul 3, 2018

close #2619 close #2668

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

  • Make sure that you follow antd's code convention.
  • Run npm run lint and fix those errors before submitting in order to keep consistent code style.
  • Rebase before creating a PR to keep commit history clear.
  • Add some descriptions and refer relative issues for you PR.

Extra checklist:

  • Update API docs for the component.
  • Update/Add demo to demonstrate new feature.
  • Update TypeScript definition for the component.
  • Add unit tests for the feature.

This change is Reviewable

@ghost ghost assigned ziluo Jul 3, 2018
@ghost ghost added the In Progress label Jul 3, 2018
@ziluo ziluo added the feature label Jul 3, 2018
@codecov
Copy link

codecov bot commented Jul 3, 2018

Codecov Report

❗ No coverage uploaded for pull request base (2.3.x@c711203). Click here to learn what that means.
The diff coverage is 87.5%.

Impacted file tree graph

@@           Coverage Diff            @@
##             2.3.x    #2700   +/-   ##
========================================
  Coverage         ?   59.31%           
========================================
  Files            ?       92           
  Lines            ?     2205           
  Branches         ?      627           
========================================
  Hits             ?     1308           
  Misses           ?      891           
  Partials         ?        6
Flag Coverage Δ
#web 59.31% <87.5%> (?)
Impacted Files Coverage Δ
components/image-picker/index.tsx 34.18% <87.5%> (ø)

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 c711203...e436def. Read the comment docs.

| accept| File type accept | string | image/* |
| multiple | whether support choose multi images at once | boolean | false |
| accept | File type accept | string | image/* |
| length | 单行的图片数量 | string | number | 4 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

| length | 单行的图片数量 | string \| number | 4 |

@doxiaodong
Copy link
Contributor

这个这么短,合成一个 commit 吧

@ziluo ziluo force-pushed the image_picker_support_length branch from 58f0ba5 to e436def Compare July 12, 2018 07:04
@ziluo ziluo merged commit b9d897d into 2.3.x Jul 12, 2018
@ziluo ziluo deleted the image_picker_support_length branch July 12, 2018 08:27
chenKuer added a commit that referenced this pull request Aug 15, 2018
* Fix: Flex margin when direction=column (#2711)

* chore:add 2.2.2 changelog (#2716)

* chore:add 2.2.2 changelog

* feat: release 2.2.2

* feat:update snapshot (#2717)

* docs: correct DatePicker api, ref #2378

* initial

* feat: printer

* feat: API

* add: demo: basic; disable; tabs;

* test: add test file

* fix: change function style

* fix: clear unnecessary code in demo

* fix: down component of printer

* feat: ImagePicker support customized length (#2700)

* PickData label support ReactNode (#2720)

* fix: update PickerData PropTypes

* fix: picker format proptype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants