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