import React from "react" ; import { AddNewItem } from "./AddNewItem" ; import { ColumnContainer , ColumnTitle } from "./styles" ; interface ColumnProps { text : string ; } export const Column = ( { text , children } ) => { return ( < ColumnContainer > < ColumnTitle > { text } < /ColumnTitle> { children } < AddNewItem toggleButtonText = "+ Add another task" onAdd = { console . log } dark / > < /ColumnContainer>); } ;