import { component$ } from '@builder.io/qwik' import { Link, useLocation } from '@builder.io/qwik-city' import { DocumentationCtx } from '~/contexts' /** * options = [] array con la lista de opciones de la documentacion */ export default component$(({ options = [] }: { options: DocumentationCtx[] }) => { return (
{options.map((item, i) => ( ))}
) }) export const UlCompoent = component$((porps: { title: string; list: { link: string; name: string }[] }) => { return ( ) }) export const LiComponent = component$((porps: { list: { link: string; name: string }[] }) => { const location = useLocation() const currentPage = location.pathname return ( ) })