mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 08:04:53 +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;
|