mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-04-21 07:09:20 +08:00
24 lines
644 B
JavaScript
24 lines
644 B
JavaScript
import CardContent from '@elementor/ui/CardContent';
|
|
import Typography from '@elementor/ui/Typography';
|
|
import { styled } from '@elementor/ui/styles';
|
|
import { MainList } from '@ea11y-apps/scanner/components/main-list';
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
export const MainLayout = () => {
|
|
return (
|
|
<StyledContent>
|
|
<Typography variant="body2" as="h3">
|
|
{__('All issues', 'pojo-accessibility')}
|
|
</Typography>
|
|
|
|
<MainList />
|
|
</StyledContent>
|
|
);
|
|
};
|
|
|
|
const StyledContent = styled(CardContent)`
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: ${({ theme }) => theme.spacing(2)};
|
|
padding: 0 ${({ theme }) => theme.spacing(2)};
|
|
`;
|