mirror of
				https://github.com/phuoc-ng/csslayout.git
				synced 2025-10-26 11:16:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			816 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			816 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import * as React from 'react';
 | |
| 
 | |
| import Frame from '../../placeholders/Frame';
 | |
| 
 | |
| const Cover: React.FC<{}> = () => {
 | |
|     return (
 | |
|         <Frame>
 | |
|             <div
 | |
|                 style={{
 | |
|                     alignItems: 'center',
 | |
|                     display: 'flex',
 | |
|                     flexDirection: 'column',
 | |
|                     height: '100%',
 | |
|                     justifyContent: 'center',
 | |
|                     padding: '8px',
 | |
|                 }}
 | |
|             >
 | |
|                 <div
 | |
|                     style={{
 | |
|                         backgroundColor: 'rgba(0, 0, 0, 0.3)',
 | |
|                         height: '40%',
 | |
|                         transform: 'skewY(-10deg)',
 | |
|                         width: '100%',
 | |
|                     }}
 | |
|                 />
 | |
|             </div>
 | |
|         </Frame>
 | |
|     );
 | |
| };
 | |
| 
 | |
| export default Cover;
 |