| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Submit extends Component |
||
| 8 | { |
||
| 9 | public $type, $label, $icon; |
||
| 10 | public $topclass, $inputclass; |
||
| 11 | |||
| 12 | public function __construct( |
||
| 13 | $type = 'primary', $label = 'Submit', $icon = 'fas fa-save', |
||
| 14 | $topclass = 'text-center', $inputclass = null) |
||
| 15 | { |
||
| 16 | $this->type = $type; |
||
| 17 | $this->icon = $icon; |
||
| 18 | $this->topclass = $topclass; |
||
| 19 | $this->inputclass = $inputclass; |
||
| 20 | $this->label = $label; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function render() |
||
| 26 | } |
||
| 27 | } |