composed code to components

This commit is contained in:
Vladimir Khvan 2023-03-23 14:11:03 +05:00
parent 68e3d036d7
commit adeecf06bb

View File

@ -1,20 +1,21 @@
import React from "react";
import styled from "styled-components";
import HistoryHeader from "./sub-components/HistoryHeader";
import HistoryFilterHeader from "./sub-components/HistoryFilterHeader";
const WebhookWrapper = styled.div`
width: 100%;
`;
const WebhookHistory = () => {
return (
<>
<header>
<a href="">arrow</a>
History
<span>Deliveries are automatically deleted after 15 days</span>
</header>
<body>
<header>
Webhook 32
<button>filter</button>
</header>
</body>
</>
<WebhookWrapper>
<HistoryHeader />
<main>
<HistoryFilterHeader />
</main>
</WebhookWrapper>
);
};