Skip to contentOpen History to see the last commit
button-with-props-only.tsx
6 lines193 Bytes
1import type { ComponentChildren } from 'preact' 2import { Button } from './button' 4export const ButtonWithProps = (props: { children: ComponentChildren }) => { 5 return <Button {...props} />