remove duplicative styles
This commit is contained in:
		
							parent
							
								
									32bc483e48
								
							
						
					
					
						commit
						263d0cc425
					
				@ -1,19 +1,19 @@
 | 
				
			|||||||
export function GrowthPieChartSkeleton ({ width = '100%', height = '250px !important', minWidth = '200px' }) {
 | 
					export function GrowthPieChartSkeleton ({ height = '250px', minWidth = '200px' }) {
 | 
				
			||||||
  return <ChartSkeleton {...{ width, height, minWidth }} />
 | 
					  return <ChartSkeleton {...{ height, minWidth }} />
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function WhenComposedChartSkeleton ({ width = '100%', height = '300px !important', minWidth = '300px' }) {
 | 
					export function WhenComposedChartSkeleton ({ height = '300px', minWidth = '300px' }) {
 | 
				
			||||||
  return <ChartSkeleton {...{ width, height, minWidth }} />
 | 
					  return <ChartSkeleton {...{ height, minWidth }} />
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function WhenAreaChartSkeleton ({ width = '100%', height = '300px !important', minWidth = '300px' }) {
 | 
					export function WhenAreaChartSkeleton ({ height = '300px', minWidth = '300px' }) {
 | 
				
			||||||
  return <ChartSkeleton {...{ width, height, minWidth }} />
 | 
					  return <ChartSkeleton {...{ height, minWidth }} />
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function WhenLineChartSkeleton ({ width = '100%', height = '300px !important', minWidth = '300px' }) {
 | 
					export function WhenLineChartSkeleton ({ height = '300px', minWidth = '300px' }) {
 | 
				
			||||||
  return <ChartSkeleton {...{ width, height, minWidth }} />
 | 
					  return <ChartSkeleton {...{ height, minWidth }} />
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function ChartSkeleton (props) {
 | 
					function ChartSkeleton (props) {
 | 
				
			||||||
  return <div className='h-auto mx-auto w-100 clouds' style={{ ...props }} />
 | 
					  return <div className='mx-auto w-100 clouds' style={{ ...props }} />
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user