import React, { createContext, useContext } from 'react';
import styles from './Row.styles';
import { IColProps, IRowProps } from './types';
const { ColDiv, RowDiv } = styles;
const Context = createContext({
lg: 0,
md: 0,
sm: 0,
xs: 0,
rowGap: 15,
colGap: 15,
});
export function Col({
breakpointsConfig = {},
children,
isFullWidth = false,
order = 0,
span = 0,
...props
}: IColProps): JSX.Element {
const prov = useContext(Context);
return (
{children}
);
}
function Row({
alignItems = 'start',
justifyItems = 'flex-start',
colGap = 15,
rowGap = 15,
children,
xs = 8,
sm = 16,
md = 24,
lg = 24,
width,
...props
}: IRowProps): JSX.Element {
return (
{children}
);
}
Row.Col = Col;
export default Row;