fix: export BadgeVariant type from Badge public API
This commit is contained in:
1 parent
bb9c91b4f8
commit
f95588381d
2 files changed
+2
-1
No files matched your search
@@ -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