<?php namespace October\Contracts\Element;

use October\Rain\Element\Lists\ColumnDefinition;

/**
 * ListElement
 *
 * @package october\contracts
 * @author Alexey Bobkov, Samuel Georges
 */
interface ListElement
{
    /**
     * defineColumn adds a column to the list element
     */
    public function defineColumn(string $columnName, ?string $label = null): ColumnDefinition;
}
