mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 13:03:44 +08:00
16 lines
437 B
Plaintext
16 lines
437 B
Plaintext
|
import { and } from "truth-helpers";
|
||
|
import DInlineFloat from "float-kit/components/d-inline-float";
|
||
|
|
||
|
const DHeadlessTooltip = <template>
|
||
|
<DInlineFloat
|
||
|
@instance={{@tooltip}}
|
||
|
@trapTab={{and @tooltip.options.interactive @tooltip.options.trapTab}}
|
||
|
@mainClass="fk-d-tooltip__content"
|
||
|
@innerClass="fk-d-tooltip__inner-content"
|
||
|
@role="tooltip"
|
||
|
@inline={{@inline}}
|
||
|
/>
|
||
|
</template>;
|
||
|
|
||
|
export default DHeadlessTooltip;
|