fix example

This commit is contained in:
Cory LaViska
2022-08-16 15:32:14 -04:00
committed by GitHub
parent 23bb45b1b6
commit c6d30ae1b5

View File

@@ -333,7 +333,7 @@ Use the `content` slot to create tooltips with HTML content. Tooltips are design
import { SlButton, SlTooltip } from '@shoelace-style/shoelace/dist/react';
const App = () => (
<SlTooltip content="This is a tooltip">
<SlTooltip>
<div slot="content">
I'm not <strong>just</strong> a tooltip, I'm a <em>tooltip</em> with HTML!
</div>