Rename noToggle => noFormatToggle

This commit is contained in:
Cory LaViska
2020-12-21 17:23:14 -05:00
parent ba27097315
commit 05f8b8933b

View File

@@ -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>