-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
User props such as class or children aren't being passed down to returned buttonProps.
The button doesn't seem clickable with Enter too..
export const Button: ParentComponent<
JSX.IntrinsicElements['button'] & AriaButtonProps
> = props => {
let ref!: HTMLButtonElement
const { buttonProps } = createButton(props, () => ref)
return <button {...buttonProps} ref={ref} />
};
// class and children aren't being applied
<Button class="btn">Hello</Button>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working