fix: export BadgeVariant type from Badge public API
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
export { Badge } from './ui/Badge'
|
export { Badge } from './ui/Badge'
|
||||||
|
export type { BadgeVariant } from './ui/Badge'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { ReactNode } from 'react'
|
import type { ReactNode } from 'react'
|
||||||
import { cn } from '$shared/lib'
|
import { cn } from '$shared/lib'
|
||||||
|
|
||||||
type BadgeVariant = 'default' | 'primary' | 'secondary' | 'outline'
|
export type BadgeVariant = 'default' | 'primary' | 'secondary' | 'outline'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user