Skip to content

Commit 27ee601

Browse files
authored
Merge pull request #218 from dev-five-git/fix-style-vars
Fix styleVars type
2 parents f167da2 + 6182ae8 commit 27ee601

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/gold-steaks-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@devup-ui/react": patch
3+
---
4+
5+
Fix styleVars type

packages/react/src/types/props/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ export interface DevupProps<T extends React.ElementType>
6969
DevupSelectorProps,
7070
DevupThemeSelectorProps {
7171
as?: T
72-
styleVars?: Record<string, string>
72+
styleVars?: Record<string, string | undefined>
7373
}

0 commit comments

Comments
 (0)