@@ -11,7 +11,7 @@ export default {
1111export function Default ( ) {
1212 return (
1313 < ConfirmResponsiveDrawer onConfirm = { ( ) => alert ( 'Custom Action' ) } >
14- < Button type = "button" > Confirm</ Button >
14+ < Button > Confirm</ Button >
1515 </ ConfirmResponsiveDrawer >
1616 ) ;
1717}
@@ -25,7 +25,7 @@ export function WithCustomProps() {
2525 confirmText = "Custom Text"
2626 confirmVariant = "destructive"
2727 >
28- < Button type = "button" > Trigger Modal</ Button >
28+ < Button > Trigger Modal</ Button >
2929 </ ConfirmResponsiveDrawer >
3030 ) ;
3131}
@@ -46,7 +46,7 @@ export function EnabledProps() {
4646 onConfirm = { ( ) => alert ( 'Custom Action' ) }
4747 enabled = { enabled }
4848 >
49- < Button type = "button" > { enabled ? 'Confirm' : 'Without confirm' } </ Button >
49+ < Button > { enabled ? 'Confirm' : 'Without confirm' } </ Button >
5050 </ ConfirmResponsiveDrawer >
5151 </ div >
5252 ) ;
@@ -57,7 +57,7 @@ export function WithPromise() {
5757 < ConfirmResponsiveDrawer
5858 onConfirm = { async ( ) => new Promise ( ( r ) => setTimeout ( r , 2000 ) ) }
5959 >
60- < Button type = "button" > Confirm</ Button >
60+ < Button > Confirm</ Button >
6161 </ ConfirmResponsiveDrawer >
6262 ) ;
6363}
0 commit comments