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
Conversation
import {PropTypes} from '../const'; | ||
import {TConfig} from '../types'; | ||
|
||
const changleHandlers = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changeHandlers
?
There was a problem hiding this comment.
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) => { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
dde7ae1
to
481a4be
Compare
No description provided.