Put the heading in the Content part and the Canvas after it.
goods-heading.tsx
TextCloth
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | A string, or the parts TextClothContent and TextClothCanvas. |
| locale | string | — | The BCP 47 locale of the text, for the case of text-transform on the cloth. Default: the DisplayLocaleProvider locale, else "en-US". |
| trigger | "hover""view" | "view" | view (default): a gust ripples the cloth once, the first time it shows. hover: it only moves under the pointer. Both ripple under the pointer, and keyboard focus on the link around it sends a gust. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextClothContent
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextClothCanvas
<canvas>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <canvas> attributes | — | Every other attribute goes to the <canvas>, with a ref. |







