Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

button-with-props-only.tsx

6 lines193 Bytes

1import type { ComponentChildren } from 'preact'
2import { Button } from './button'
3​
4export const ButtonWithProps = (props: { children: ComponentChildren }) => {
5 return <Button {...props} />
6}