mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
refactor: clean some codes
This commit is contained in:
@@ -9,7 +9,7 @@ export type BaseProps = ButtonProps & {
|
||||
|
||||
export function Base({ icon, iconOnly, labelText, ...props }: BaseProps) {
|
||||
const button = (
|
||||
<Button className="w-fit border" {...props}>
|
||||
<Button className="border" {...props}>
|
||||
{icon}
|
||||
{!iconOnly && <span className="ml-1">{labelText}</span>}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user