MCPcopy Create free account
hub / github.com/microsoft/SandDance / Button

Function Button

docs/app/js/sanddance-app.js:13051–13075  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

13049// Licensed under the MIT license.
13050var _base = require("../base");
13051function Button(props) {
13052 return (0, _base.base).react.createElement((0, _base.base).fluentUI.DefaultButton, Object.assign({}, props, {
13053 styles: {
13054 root: {
13055 backgroundColor: "transparent",
13056 height: "30px",
13057 width: props.width,
13058 padding: 0
13059 },
13060 rootDisabled: {
13061 backgroundColor: "transparent"
13062 },
13063 icon: {
13064 color: props.themePalette.themePrimary
13065 },
13066 label: {
13067 fontWeight: "400",
13068 textAlign: props.textAlign || "left"
13069 }
13070 },
13071 iconProps: {
13072 iconName: props.iconName
13073 }
13074 }));
13075}
13076
13077},{"../base":"b6Cy1","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"kDVwl":[function(require,module,exports) {
13078var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected