Spaces:
Running
Running
James McCool
Remove unused files and dependencies, including .gitattributes, App.css, and App.test.js. Update package.json and package-lock.json to remove @radix-ui/react-slot dependency. Modify DataTable component title for clarity and refactor Button component to simplify its implementation.
e860c42
import * as React from "react" | |
const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => { | |
return ( | |
<button | |
className={`btn btn-primary ${className || ''}`} | |
ref={ref} | |
{...props} | |
/> | |
) | |
}) | |
Button.displayName = "Button" | |
export { Button } | |