Skip to content

Commit 49e0cc8

Browse files
author
Hector Arce De Las Heras
committed
Add optional title prop to Button component
1 parent 1dff4da commit 49e0cc8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/button/buttonStandAlone.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const ButtonStandAloneComponent = (
7272
minWidth={props.minWidth}
7373
role={props.role}
7474
tabIndex={props.tabIndex}
75+
title={props.title}
7576
type={props.type}
7677
onClick={props.onClick}
7778
>

src/components/button/types/button.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export interface IButtonStandAlone
6262
icon?: IElementOrIcon;
6363
form?: string;
6464
role?: string | ROLES;
65+
title?: string;
6566
}
6667

6768
/**

0 commit comments

Comments
 (0)