Skip to content

Commit a17c7b8

Browse files
committed
Add color
1 parent ea622ed commit a17c7b8

File tree

1 file changed

+3
-2
lines changed
  • packages/react/src/types/props

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import type { Property } from 'csstype'
22

33
import type { ResponsiveValue } from '../responsive-value'
4+
import type { DevupThemeColors } from '../theme'
45

56
export interface DevupUiSvgProps {
6-
fill?: ResponsiveValue<Property.Fill>
7-
stroke?: ResponsiveValue<Property.Stroke>
7+
fill?: ResponsiveValue<Property.Fill | keyof DevupThemeColors>
8+
stroke?: ResponsiveValue<Property.Stroke | keyof DevupThemeColors>
89
strokeWidth?: ResponsiveValue<Property.StrokeWidth>
910
strokeOpacity?: ResponsiveValue<Property.StrokeOpacity>
1011
}

0 commit comments

Comments
 (0)