Skip to content

Commit

Permalink
fix(actionssheet): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed Apr 4, 2023
1 parent bb82f12 commit 3cc17ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/quark/src/actionsheet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class QuarkActionSheet extends QuarkElement {

wrap: any = createRef();

titl: string | undefined = undefined;
title: string | undefined = undefined;

actions: Action[] = [];

Expand Down Expand Up @@ -173,15 +173,15 @@ class QuarkActionSheet extends QuarkElement {
ref={this.wrap}
onClick={this.handleContainerClick}
>
{this.titl && (
{this.title && (
<div
class="quark-actionsheet-title"
style={{
color: this.titleColor ? this.titleColor : undefined,
fontSize: this.titleFontSize ? this.titleFontSize : undefined,
}}
>
{this.titl}
{this.title}
</div>
)}
<div class="quark-actionsheet-action">{this.renderActions()}</div>
Expand Down Expand Up @@ -225,7 +225,7 @@ export default function (params: Props): QuarkActionSheet {
close,
zIndex,
} = params;
actionSheet.titl = title;
actionSheet.title = title;
actionSheet.actions = actions;
actionSheet.cancelText = cancelText;
actionSheet.titleColor = titleColor;
Expand Down

0 comments on commit 3cc17ca

Please sign in to comment.