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

docs(yard): add file-uploader #2005

Merged
merged 2 commits into from Oct 3, 2019
Merged

docs(yard): add file-uploader #2005

merged 2 commits into from Oct 3, 2019

Conversation

gergelyke
Copy link
Contributor

No description provided.

import {PropTypes} from '../const';
import {TConfig} from '../types';

const changleHandlers = [
Copy link
Member

Choose a reason for hiding this comment

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

changeHandlers?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lol, yes :)

description: 'Error message to be displayed.',
stateful: true,
},
...changleHandlers.reduce((acc, current) => {
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should come up with some more robust mechanism to share parts of the documentation. Maybe having config/common.ts with all these handlers and then just picking them across other config files. We already do a lot of sharing for input components. Wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that makes sense - I'll do that as part of this PR

@gergelyke gergelyke merged commit afa85c2 into master Oct 3, 2019
@baseui-probot-app-workflow baseui-probot-app-workflow bot deleted the docs/yard-file-uploader branch October 3, 2019 20:12
VladimirMilenko pushed a commit to VladimirMilenko/baseui that referenced this pull request Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants