Skip to content

Commit

Permalink
Merge pull request #2 from digital-brew/message
Browse files Browse the repository at this point in the history
Message component
  • Loading branch information
yarovikov authored Oct 31, 2024
2 parents c2cb23f + 812bfec commit 7661021
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Editor/GutengoodBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,19 @@ public function addSelect(string $name, array $args = []): self
return $this->addComponent($name, 'Select', $args);
}

/**
* Message component
*
* @param string $name The name of the component.
* @param array $args (string label, string help)
*
* @return self
*/
public function addMessage(string $name, array $args = []): self
{
return $this->addComponent($name, 'Message', $args);
}

/**
* Image component
*
Expand Down

0 comments on commit 7661021

Please sign in to comment.