mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: a new d-tooltip component (#17513)
This commit is contained in:
committed by
GitHub
parent
a23e934730
commit
023835cdad
@@ -0,0 +1,9 @@
|
||||
<StyleguideExample @title="rich-tooltip">
|
||||
<DButton>
|
||||
{{i18n "styleguide.sections.rich_tooltip.hover_to_see"}}
|
||||
<DTooltip>
|
||||
<h3>{{i18n "styleguide.sections.rich_tooltip.header"}}</h3>
|
||||
{{i18n "styleguide.sections.rich_tooltip.description"}}
|
||||
</DTooltip>
|
||||
</DButton>
|
||||
</StyleguideExample>
|
||||
@@ -83,3 +83,8 @@ en:
|
||||
title: "Spinners"
|
||||
empty_state:
|
||||
title: "Empty State"
|
||||
rich_tooltip:
|
||||
title: "Rich Tooltip"
|
||||
description: "Description"
|
||||
header: "Header"
|
||||
hover_to_see: "Hover to see a tooltip"
|
||||
|
||||
Reference in New Issue
Block a user