import React, { ElementRef, forwardRef } from "react" import { classNames } from "../../utils/classNames" import { Block, BlockProps } from "../Block" import { FlexProps } from "../Flex" import { FlexColumn } from "../FlexColumn" import { ItemProps } from "../Item" import { Text, TextBodyProps } from "../Text" export type SideModuleProps = FlexProps const SideModuleBase = forwardRef, SideModuleProps>( function SideModule({ children, className, ...rest }, ref) { return ( {children} ) }, ) export type SideModuleItemProps = ItemProps const SideModuleSectionBase = forwardRef, BlockProps>( function SideModuleSection({ className, ...rest }, ref) { return ( ) }, ) const SideModuleSectionTitle = forwardRef< ElementRef, TextBodyProps >(function SideModuleSectionTitle({ className, ...rest }, ref) { return ( ) }) export const SideModuleSection = Object.assign(SideModuleSectionBase, { Title: SideModuleSectionTitle, }) export const SideModule = Object.assign(SideModuleBase, { Section: SideModuleSection, })