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

feat: hovering over feature shows full feature name #4138

Merged
merged 5 commits into from
Jul 4, 2023
Merged

Conversation

sjaanus
Copy link
Contributor

@sjaanus sjaanus commented Jul 4, 2023

image

@vercel
Copy link

vercel bot commented Jul 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 0:38am
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2023 0:38am

@@ -65,4 +68,12 @@ export const LinkCell: FC<ILinkCellProps> = ({
) : (
<StyledWrapper>{content}</StyledWrapper>
);

return withTooltip ? (
<Tooltip title={content} arrow describeChild>
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd rather decorate LinkCell with a tooltip outside of this component


interface ILinkCellProps {
title?: string;
to?: string;
onClick?: () => void;
subtitle?: string;
withTooltip?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd avoid adding those special case boolean flags for configuring components and compose instead.

@kwasniew kwasniew self-requested a review July 4, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants