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'; import { Visible } from '@reuters-graphics/graphics-components';
</script> </script>
<!-- Optionally set your own `top`, `bottom`, `right` and `left` values with units --> <!-- Optionally set your own `top`, `bottom`, `right` and `left` values with `px` or `%` units -->
<Visible top={{ value: 10, unit: 'px' }}> <Visible top="10px">
{#snippet children(visible)} {#snippet children(visible)}
{#if visible} {#if visible}
<p>Visible!</p> <p>Visible!</p>