UNPKG
@ogasphere/theme-manager
Version:
latest (1.2.1)
1.2.1
1.2.0
1.1.0
A reusable theme management package for Next.js and Vite applications
@ogasphere/theme-manager
/
dist
/
core
/
theme-validator.d.ts
4 lines
•
282 B
TypeScript
View Raw
1
2
3
4
import
type
{
Theme
}
from
"./theme-types"
;
export
declare
function
validateThemeId
(
themeId
:
string
,
availableThemes
:
Theme
[]
):
boolean
;
export
declare
function
getThemeById
(
themeId
:
string
,
availableThemes
:
Theme
[]
):
Theme
|
undefined
;
//# sourceMappingURL=theme-validator.d.ts.map