Removed the open/close button from r3f

This commit is contained in:
Aria Minaei 2021-07-04 18:11:43 +02:00
parent d0c4dd4ec7
commit 532e24e691
3 changed files with 0 additions and 44 deletions

View file

@ -1,18 +0,0 @@
import React, {forwardRef} from 'react'
import type {ButtonProps} from 'reakit'
import {Button as ButtonImpl} from 'reakit'
export type {ButtonProps}
const Button = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
return (
<ButtonImpl
// @ts-ignore
ref={ref}
{...props}
className={`${props.className} inline-flex justify-center rounded-md px-4 py-2 font-medium bg-gray-100 text-gray-700 hover:bg-gray-200 focus:outline-none focus:ring focus:ring-blue-300`}
/>
)
})
export default Button