fix demo typos

This commit is contained in:
MinamiFunakoshiTR 2025-06-25 09:12:33 -07:00
parent 6998d45127
commit fc2372b9df
Failed to extract signature

View file

@ -19,8 +19,8 @@ By default, `visible` will switch between `false` and `true` whenever the elemen
import { Visible } from '@reuters-graphics/graphics-components';
</script>
<!-- Optionally set your own `top`, `bottom`, `right` and `left` values with units -->
<Visible top={{ value: 10, unit: 'px' }}>
<!-- Optionally set your own `top`, `bottom`, `right` and `left` values with `px` or `%` units -->
<Visible top="10px">
{#snippet children(visible)}
{#if visible}
<p>Visible!</p>