import React from 'react'; import { PixelBareButton } from './PixelBareButton'; export function Default() { return Bare button; } export function WithCustomClass() { return ( Styled by consumer ); } export function Disabled() { return ( Disabled ); } export function WithOnClick() { const [count, setCount] = React.useState(0); return ( setCount((c) => c + 1)}> Clicked {count} times ); } export function SubmitType() { return (
{ e.preventDefault(); }} className="flex gap-2" > Submit Reset
); } export function AsIconTrigger() { return ( ); }