mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 21:10:38 +03:00
26 lines
416 B
TypeScript
26 lines
416 B
TypeScript
![]() |
import clsx from 'clsx';
|
||
|
|
||
|
import { classnames } from '@/utils/constants';
|
||
|
|
||
|
import { CProps } from '../props';
|
||
|
|
||
|
export interface FlexColumnProps
|
||
|
extends CProps.Div {}
|
||
|
|
||
|
function FlexColumn({
|
||
|
className, children,
|
||
|
...restProps
|
||
|
}: FlexColumnProps) {
|
||
|
return (
|
||
|
<div
|
||
|
className={clsx(
|
||
|
classnames.flex_col,
|
||
|
className
|
||
|
)}
|
||
|
{...restProps}
|
||
|
>
|
||
|
{children}
|
||
|
</div>);
|
||
|
}
|
||
|
|
||
|
export default FlexColumn;
|