diff --git a/resources/views/components/signature-pad.blade.php b/resources/views/components/signature-pad.blade.php index 62425c9..a44fd59 100644 --- a/resources/views/components/signature-pad.blade.php +++ b/resources/views/components/signature-pad.blade.php @@ -5,8 +5,8 @@ class="{{ $padClasses }}">
- - + +
diff --git a/src/Components/SignaturePad.php b/src/Components/SignaturePad.php index 216b60c..b7d6df7 100644 --- a/src/Components/SignaturePad.php +++ b/src/Components/SignaturePad.php @@ -12,7 +12,9 @@ class SignaturePad extends Component public string $padClasses; - public string $buttonClasses; + public string $submitClasses; + + public string $clearClasses; public string $borderColor; @@ -29,7 +31,8 @@ public function __construct( float $width = null, float $height = null, string $padClasses = '', - string $buttonClasses = '', + string $submitClasses = '', + string $clearClasses = '', string $borderColor = '#777777', string $submitName = 'Submit', string $clearName = 'Clear' @@ -38,7 +41,8 @@ public function __construct( $this->height = $height ?? config('sign-pad.height'); $this->padClasses = $padClasses; - $this->buttonClasses = $buttonClasses; + $this->submitClasses = $submitClasses; + $this->clearClasses = $clearClasses; $this->borderColor = $borderColor;