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

Add support for custom tooltip component in Popover #102

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

spmlz
Copy link
Contributor

@spmlz spmlz commented Sep 13, 2024

Description:

This PR adds a new customTooltip prop to the Popover component, allowing users to provide their own custom tooltip component. Resolved issue #101

Changes:

  • Added customTooltip prop to Popover component.
  • Updated Popover component to render the custom tooltip if provided.
  • Ensured backward compatibility with existing functionality.
  • Updated documentation to include the new customTooltip prop.
  • Added new demo as index5.tsx

Files Changed:

  • packages/concis-react/src/Popover/index.tsx
  • packages/concis-react/src/Popover/interface.ts
  • packages/concis-react/src/Popover/index.md
  • packages/concis-react/src/Popover/index.zh-CN.md

@fengxinhhh fengxinhhh merged commit eff5332 into fengxinhhh:master Sep 13, 2024
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