Fix Interface Variable Names

This commit is contained in:
aftabrehan
2024-02-03 20:13:09 +05:00
parent 214ee9dd21
commit 759026d203
11 changed files with 25 additions and 22 deletions

View File

@@ -2,7 +2,7 @@ import { CSSProperties } from 'react'
import clsx from 'clsx'
interface buttonProps {
interface ButtonProps {
label?: string
onClick?: () => void
variant?: 'primary' | 'secondary' | 'ghost' | 'outline'
@@ -23,7 +23,7 @@ export const Button = ({
disabled,
ref,
...props
}: buttonProps) => {
}: ButtonProps) => {
const variantCls = {
primary: 'text-white bg-primary xs:hover:opacity-75',
secondary: