import { Component, For, Show } from "solid-js"; import { A, createAsync, RouteSectionProps } from "@solidjs/router"; import { Loader } from "../components/Loader"; import { Breadcrumb } from "../components/Breadcrumb"; import { getSampleById } from "./data/data"; import { href } from "../utils/utils.ts"; export const Sample: Component = (props) => { const sample = createAsync(() => getSampleById(props.params.sampleId)); return ( }> {(sample) => ( <>

Sample

{(key) =>

{key}

}
{(value) =>

{value}

}

Variants )}
); };