Grido\Components\Button::setIcon PHP Method

setIcon() public method

Sets name of icon.
public setIcon ( string $name ) : Action
$name string
return Action
    public function setIcon($name)
    {
        $this->setOption('icon', $name);
        return $this;
    }