mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-21 20:30:16 +03:00
13 lines
406 B
TypeScript
13 lines
406 B
TypeScript
'use client'
|
|
|
|
import { SpriteViewer } from '@gromlab/svg-sprites/react'
|
|
|
|
const viewerSources = [
|
|
() => import('../src/app-icons/.svg-sprite/svg-sprite.manifest.js'),
|
|
() => import('../src/remote-app-icons/.svg-sprite/svg-sprite.manifest.js'),
|
|
] as const
|
|
|
|
export function AppSpriteViewer() {
|
|
return <SpriteViewer sources={viewerSources} title="Next App Turbopack Viewer" style={{ marginTop: 32 }} />
|
|
}
|