import { useState } from 'react'; import './Counter.css'; export default function Counter({ children, count: initialCount, }: { children: JSX.Element; count: number; }) { const [count, setCount] = useState(initialCount); const add = () => setCount((i) => i + 1); const subtract = () => setCount((i) => i - 1); return ( <>
{count}
{children}
); } /td> index : astro
Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/src/netlify-functions.ts (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-04-03[ci] formatGravatar Princesseuh 1-1/+2
2023-04-03feat(image): Export more types and utilities for users to use (#6739)Gravatar Erika 13-38/+57
2023-04-03fix(images): Return the proper content-type for the chosen format (#6741)Gravatar Erika 4-7/+16
2023-04-03[Markdoc] Fix: Support `render: null` (#6723)Gravatar Ben Holmes 9-60/+309
2023-04-03gitignore env.d.ts files in e2e tests (#6737)Gravatar Bjorn Lu 1-0/+1
2023-03-31[ci] formatGravatar matthewp 7-8/+17
2023-03-31Better errors for when response is already sent (#6719)Gravatar Matthew Phillips 12-3/+90
2023-03-31[ci] formatGravatar matthewp 2-8/+7
2023-03-31supporting top of await (#6671)Gravatar wulinsheng123 7-5/+63
2023-03-31[ci] release (#6694)astro@2.1.9@astrojs/rss@2.3.2@astrojs/react@2.1.1@astrojs/lit@2.0.0@astrojs/image@0.16.4Gravatar Houston (Bot) 59-143/+131
2023-03-31fix(check): Dynamically import check command (#6717)Gravatar Erika 2-1/+7
2023-03-31fix(errors): Add simplified message for MarkdownImageNotFound (#6718)Gravatar Erika 1-0/+2
2023-03-31[ci] formatGravatar Princesseuh 1-2/+2
2023-03-31Fix incorrect path in error overlay on Win (#6679)Gravatar Peter Timoshevsky 5-5/+43
2023-03-30Remove unnecessary image-related `.wasm` files inside build output when possi...Gravatar Erika 6-47/+45
2023-03-30Fix InferGetStaticParamsType and InferGetStaticPropsType not working with syn...Gravatar Erika 2-7/+16
2023-03-30Fix multiple images being generated for the same image (#6710)Gravatar Erika 6-15/+28
2023-03-30[RSS] Fix: update `RSSFeedItem` type to comply with `strictest` tsconfig (#6614)Gravatar Aivars Liepa 2-1/+6
2023-03-29Update lit-ssr dependency (#6681)Gravatar Elliott Marquez 13-82/+107
2023-03-29fix(images): Improve error handling around the new assets feature (#6649)Gravatar Erika 17-21/+290
2023-03-29Use debug option for debugDir (#6554)Gravatar Isaac 1-1/+1