We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yarn storybook
Form/Select/Tag
React.Children.only expected to receive a single React element child.
rc-trigger 現在靠 React.Children.only 來確保只傳進去一個子元件,於是不傳任何子元件( 0 個子元件)給 <Dropdown /> 的 <TagExample /> 就壞掉了。
React.Children.only
<Dropdown />
<TagExample />
而且單純傳一個空的元件給 <Dropdown /> 並無法修復失去功能的 <TagExample /> 。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version of library
Steps to Reproduce the Problem
yarn storybook
Form/Select/Tag
Expected Behavior
Actual Behavior
React.Children.only expected to receive a single React element child.
Other details
rc-trigger 現在靠
React.Children.only
來確保只傳進去一個子元件,於是不傳任何子元件( 0 個子元件)給<Dropdown />
的<TagExample />
就壞掉了。而且單純傳一個空的元件給
<Dropdown />
並無法修復失去功能的<TagExample />
。The text was updated successfully, but these errors were encountered: