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 class='form'>
Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpX_py.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2019-08-27typo in docGravatar MaxThevenet 1-0/+1
2019-08-27only dump relevant particle quantities in automated testsGravatar MaxThevenet 1-5/+5
2019-08-27Bug fix for RZ multimode on GPUGravatar grote 1-1/+2
2019-08-26make scripts more general and clean the docGravatar MaxThevenet 5-35/+42
2019-08-26Bug fix for RZ in the current depositionGravatar Dave Grote 2-1/+2
2019-08-26add script to compute domain size and #cellsGravatar MaxThevenet 2-2/+23