import { createSignal } from 'solid-js'; /** */ export default function SolidCounter({ children }) { const [count, setCount] = createSignal(0); const add = () => setCount(count() + 1); const subtract = () => setCount(count() - 1); return ( <>
{count()}
{children}
); } src='/cgit.png' alt='cgit logo'/> index : astro
Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs/src/components/EditOnGithub.tsx (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-07-16Revert "[ci] yarn format"Gravatar Fred K. Schott 3-15/+18
2021-07-16[ci] yarn formatGravatar natemoo-re 3-18/+15
2021-07-16New getting started guide (#715)Gravatar Fred K. Schott 20-749/+411
2021-07-16Update docs in compiler messages (#710)Gravatar Caleb Jasik 19-33/+33
2021-07-16Changed URLs to match the release (#711)Gravatar JuanM04 4-6/+6