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

Empty component #91

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Empty component #91

wants to merge 4 commits into from

Conversation

wujingquan
Copy link
Contributor

WIP

@mxdi9i7 mxdi9i7 added this to the 1.0 Release milestone Dec 24, 2020
@wujingquan wujingquan changed the title [WIP] Empty component Empty component Dec 24, 2020
@mxdi9i7
Copy link
Owner

mxdi9i7 commented Dec 24, 2020

image
Alignment seems wrong

src/components/Empty/index.scss Outdated Show resolved Hide resolved
src/components/Empty/index.scss Outdated Show resolved Hide resolved
&__description {
margin-top: $empty-description-margin-top;
padding: $empty-description-padding;
color: $empty-description-color;
Copy link
Owner

Choose a reason for hiding this comment

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

use typography variables

src/components/Empty/index.stories.tsx Outdated Show resolved Hide resolved
</div>
);

export const ImageType = () => {
Copy link
Owner

Choose a reason for hiding this comment

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

make the presentation prettier

src/components/Empty/index.tsx Outdated Show resolved Hide resolved
src/components/Empty/index.tsx Outdated Show resolved Hide resolved
src/components/Empty/index.tsx Outdated Show resolved Hide resolved
@mxdi9i7
Copy link
Owner

mxdi9i7 commented Dec 24, 2020

Remember to upgrade package version by a patch number, also check this item off in the todo list in README

@@ -1,6 +1,6 @@
{
"name": "vant-react",
"version": "0.3.0",
"version": "1.0.0",
Copy link
Owner

Choose a reason for hiding this comment

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

should be 0.3.1

text='Custom'
type='danger'
/>
<div>
Copy link
Owner

Choose a reason for hiding this comment

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

we don't need this div, we can use <></> fragments to enclose the buttons

@mxdi9i7 mxdi9i7 added the enhancement New feature or request label Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants