We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea622ed commit a17c7b8Copy full SHA for a17c7b8
packages/react/src/types/props/svg.ts
@@ -1,10 +1,11 @@
1
import type { Property } from 'csstype'
2
3
import type { ResponsiveValue } from '../responsive-value'
4
+import type { DevupThemeColors } from '../theme'
5
6
export interface DevupUiSvgProps {
- fill?: ResponsiveValue<Property.Fill>
7
- stroke?: ResponsiveValue<Property.Stroke>
+ fill?: ResponsiveValue<Property.Fill | keyof DevupThemeColors>
8
+ stroke?: ResponsiveValue<Property.Stroke | keyof DevupThemeColors>
9
strokeWidth?: ResponsiveValue<Property.StrokeWidth>
10
strokeOpacity?: ResponsiveValue<Property.StrokeOpacity>
11
}
0 commit comments