Skip to content

Commit

Permalink
Update 01 - create elements.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico authored Jan 12, 2024
1 parent 513d4af commit c84737f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/01 - create elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use ChriCo\Fields\Element\Element;
$text = (new Element('my-text'))
->withAttributes([ 'type' => 'text']);

$number = (new Element('my-number'));
$number = (new Element('my-number'))
->withAttributes([ 'type' => 'number' ]);
```

Expand Down

0 comments on commit c84737f

Please sign in to comment.