Skip to content

Commit a3f7829

Browse files
author
Otis Virginie
committed
pass props not cleanProps to Button
1 parent 41a9dd0 commit a3f7829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/trigger.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const Trigger = (props) => {
3939
// Element
4040
const type = {
4141
button: <Button
42-
{...cleanProps}
42+
{...props}
4343
className={cssClassNames}
4444
block
4545
kitid={props.kitid}
@@ -49,7 +49,7 @@ const Trigger = (props) => {
4949
</Button>,
5050

5151
link: <Button
52-
{...cleanProps}
52+
{...props}
5353
className={cssClassNames}
5454
block
5555
kitid={props.kitid}

0 commit comments

Comments
 (0)