Skip to content

Commit

Permalink
fix(button): template missing props
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs committed Jan 19, 2025
1 parent d104db4 commit e885924
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/template/button.wxml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<template name="button">
<t-button
t-id="{{tId || ''}}"
style="{{style}}"
block="{{block || false}}"
class="{{rootClass || ''}}"
t-class="{{tClass}}"
disabled="{{disabled || false}}"
data-type="{{type}}"
data-extra="{{extra}}"
custom-dataset="{{customDataset}}"
content="{{content || ''}}"
icon="{{icon || ''}}"
loading="{{loading || false}}"
loading-props="{{loadingProps}}"
theme="{{theme || 'default'}}"
ghost="{{ghost || false}}"
shape="{{shape || 'rectangle'}}"
Expand Down

0 comments on commit e885924

Please sign in to comment.