()
| 2 | import {type Component} from 'solid-js' |
| 3 | |
| 4 | export const Skeleton: Component = () => { |
| 5 | const nDots = createPolled((p: number = 0) => (p === 3 ? 1 : ++p), 800) |
| 6 | |
| 7 | return ( |
| 8 | <div class="center-child w-full h-full bg-gray-200 text-gray-600"> |
| 9 | Loading{Array.from({length: nDots()}, () => '.')} |
| 10 | </div> |
| 11 | ) |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…