mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-08 07:07:15 +02:00
24 lines
618 B
TypeScript
24 lines
618 B
TypeScript
/**
|
|
* A collection of popular layouts and patterns made with CSS (https://csslayout.io)
|
|
* (c) 2019 - 2021 Nguyen Huu Phuoc <https://twitter.com/nghuuphuoc>
|
|
*/
|
|
|
|
import * as React from 'react';
|
|
|
|
import Frame from '../../placeholders/Frame';
|
|
import Triangle from '../../placeholders/Triangle';
|
|
|
|
const Cover: React.FC<{}> = () => {
|
|
return (
|
|
<Frame>
|
|
<div style={{ position: 'relative' }}>
|
|
<div style={{ left: 0, position: 'absolute', top: 0 }}>
|
|
<Triangle size={32} />
|
|
</div>
|
|
</div>
|
|
</Frame>
|
|
);
|
|
};
|
|
|
|
export default Cover;
|