Rename noToggle => noFormatToggle

pull/481/head
Cory LaViska 2020-12-21 17:23:14 -05:00
rodzic ba27097315
commit 05f8b8933b
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -61,7 +61,7 @@ export class ColorPicker {
@Prop() size: 'small' | 'medium' | 'large' = 'medium';
/** Removes the format toggle. */
@Prop() noToggle = false;
@Prop() noFormatToggle = false;
/** The input's name attribute. */
@Prop({ reflect: true }) name = '';
@ -801,7 +801,7 @@ export class ColorPicker {
onSl-change={this.handleInputChange}
/>
{!this.noToggle && (
{!this.noFormatToggle && (
<sl-button exportparts="base:format-button" size="small" onClick={this.handleFormatToggle}>
{this.setLetterCase(this.format)}
</sl-button>