de old-lib docs
This commit is contained in:
parent
149ee7d986
commit
2f006619dd
5 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ Reuters Graphics headline
|
|||
|
||||
```svelte
|
||||
<script>
|
||||
import { Headline } from '@reuters-graphics/graphics-svelte-components';
|
||||
import { Headline } from '@reuters-graphics/graphics-components';
|
||||
</script>
|
||||
|
||||
<Headline
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ Add a byline and dateline with `byline` and `dateline` named slots.
|
|||
|
||||
```svelte
|
||||
<script>
|
||||
import { Headline } from '@reuters-graphics/graphics-svelte-components';
|
||||
import { Headline } from '@reuters-graphics/graphics-components';
|
||||
</script>
|
||||
|
||||
<Headline
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ Add a crown image in the `crown` named slot and override the headline in the `he
|
|||
|
||||
```svelte
|
||||
<script>
|
||||
import { Headline } from '@reuters-graphics/graphics-svelte-components';
|
||||
import { Headline } from '@reuters-graphics/graphics-components';
|
||||
import { assets } from '$app/paths';
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ The `PhotoPack` component makes simple photo grids with custom layouts at whatev
|
|||
|
||||
```svelte
|
||||
<script>
|
||||
import { PhotoPack } from '@reuters-graphics/graphics-svelte-components';
|
||||
import { PhotoPack } from '@reuters-graphics/graphics-components';
|
||||
|
||||
const images = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script>
|
||||
import { Visible } from '@reuters-graphics/graphics-svelte-components';
|
||||
import { Visible } from '@reuters-graphics/graphics-components';
|
||||
</script>
|
||||
|
||||
<Visible let:visible>
|
||||
|
|
|
|||
Loading…
Reference in a new issue