import React from 'react'; import Pullable from 'soapbox/components/pullable'; import { Column } from 'soapbox/components/ui'; import ColumnHeader from './column_header'; import type { IColumn } from 'soapbox/components/ui/column/column'; interface IUIColumn extends IColumn { heading?: string, icon?: string, active?: boolean, } const UIColumn: React.FC = ({ heading, icon, children, active, ...rest }) => { const columnHeaderId = heading && heading.replace(/ /g, '-'); return ( {heading && } {children} ); }; export default UIColumn;