mirror of
https://github.com/sergeyyarkov/educt-client.git
synced 2026-10-11 10:19:22 +03:00
13 lines
259 B
TypeScript
13 lines
259 B
TypeScript
import { Flex, FlexProps } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
const Base: React.FC<FlexProps> = props => {
|
|
return (
|
|
<Flex flexDir={{ base: 'column', md: 'row' }} {...props}>
|
|
{props.children}
|
|
</Flex>
|
|
);
|
|
};
|
|
|
|
export { Base };
|