Skip to content

Commit f1c91f4

Browse files
committed
Removed the UI Fabric fix
1 parent 1840c77 commit f1c91f4

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pnp/spfx-controls-react",
33
"description": "Reusable React controls for SharePoint Framework solutions",
4-
"version": "1.0.0-beta.3",
4+
"version": "1.0.0-beta.4",
55
"engines": {
66
"node": ">=0.10.0"
77
},

src/controls/placeholder/PlaceholderComponent.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,12 @@ export class Placeholder extends React.Component<IPlaceholderProps, {}> {
4646
{this.props.children}
4747
<div className={styles.placeholderDescription}>
4848
{
49-
/*
49+
this.props.buttonLabel &&
5050
<PrimaryButton
51+
text={this.props.buttonLabel}
5152
ariaLabel={this.props.buttonLabel}
5253
ariaDescription={this.props.description}
53-
onClick={this._handleBtnClick}>
54-
{this.props.buttonLabel}
55-
</PrimaryButton>
56-
*/
57-
this.props.buttonLabel &&
58-
<button onClick={this._handleBtnClick}>{this.props.buttonLabel}</button>
54+
onClick={this._handleBtnClick} />
5955
}
6056
</div>
6157
</div>

0 commit comments

Comments
 (0)