Skip to content

feat(Dropdown): Added new props for Dropdown - additionalSelectProps, popperClassName - #621

Merged
konstista merged 6 commits into
masterfrom
on-state-change-prop
Oct 27, 2021
Merged

feat(Dropdown): Added new props for Dropdown - additionalSelectProps, popperClassName#621
konstista merged 6 commits into
masterfrom
on-state-change-prop

Conversation

@konstista

@konstista konstista commented Oct 26, 2021

Copy link
Copy Markdown
Contributor

Added several new props to Dropdown API:

  • additionalSelectProps - supports custom props from downshift API, for example: initialIsOpen or onStateChange
  • popperClassName - assigns a classname to <ul> element inside Dropdown component

Checklist

  • The implementation has been manually tested and complies with Textkernel browser support guidelines
  • The implementation complies with accessibility standards.
  • The component has a displayName defined.
  • The component comes with a detailed PropTypes (and defaultProps) definition.
  • Component PropTypes are sufficiently described / documented.
  • There is a story in Storybook.

@konstista konstista changed the title feat(Dropdown): Added new props for Dropdown - initialIsOpen, additionalSelectProps, popperClassName feat(Dropdown): Added new props for Dropdown - additionalSelectProps, popperClassName Oct 26, 2021
Comment thread src/components/Dropdown/Dropdown.tsx Outdated
Comment thread stories/Dropdown.tsx Outdated
@konstista
konstista merged commit 64c30d9 into master Oct 27, 2021
@konstista
konstista deleted the on-state-change-prop branch October 27, 2021 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants