Skip to content

Commit 1e34457

Browse files
(Pill): use simpler naming
1 parent 4425f47 commit 1e34457

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scripts/Pill.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { useEventCallback } from './hooks';
1515
*/
1616
export type PillProps = {
1717
label?: string;
18-
fullLabel?: string;
18+
title?: string;
1919
truncate?: boolean;
2020
disabled?: boolean;
2121
icon?: {
@@ -34,7 +34,7 @@ export const Pill: FC<PillProps> = (props) => {
3434
icon,
3535
disabled,
3636
label,
37-
fullLabel,
37+
title,
3838
truncate,
3939
className,
4040
pillRef,
@@ -75,11 +75,11 @@ export const Pill: FC<PillProps> = (props) => {
7575
</span>
7676
) : undefined}
7777
{disabled ? (
78-
<span className='slds-pill__label' title={fullLabel}>
78+
<span className='slds-pill__label' title={title}>
7979
{label}
8080
</span>
8181
) : (
82-
<a className='slds-pill__action' title={fullLabel}>
82+
<a className='slds-pill__action' title={title}>
8383
<span className='slds-pill__label'>{label}</span>
8484
</a>
8585
)}

0 commit comments

Comments
 (0)