File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ type ExtractAlignX<T> = T extends 'column' | 'column-reverse'
2323type ExtractAlignY < T > = T extends 'column' | 'column-reverse' ? Exclude < AxisY , 'stretch' > : AxisY
2424
2525type SpacingTuple = [ keyof ViewStyle , ResponsiveProp < number > | undefined ]
26- type ResponsiveProps < T > = { [ P in keyof T ] : ResponsiveProp < number > }
26+ type BoxResponsiveProps < T > = { [ P in keyof T ] : ResponsiveProp < number > }
2727
28- type StyleProps = ResponsiveProps <
28+ type StyleProps = BoxResponsiveProps <
2929 Pick <
3030 ViewStyle ,
3131 | 'padding'
@@ -47,7 +47,7 @@ type StyleProps = ResponsiveProps<
4747
4848export interface Props < T extends Direction > extends StyleProps , ViewProps {
4949 children ?: React . ReactNode
50- flex ?: ResponsiveProps < Flex >
50+ flex ?: ResponsiveProp < Flex >
5151 direction ?: ResponsiveProp < T >
5252 paddingX ?: ResponsiveProp < number >
5353 paddingY ?: ResponsiveProp < number >
You can’t perform that action at this time.
0 commit comments