@fluentui/react
Version:
Reusable React components for building web experiences.
11 lines • 515 B
JavaScript
import * as React from 'react';
/**
* function to override the default onRender callbacks
*/
export var wrapPersona = function (example, shouldWrapPersonaCoin) {
if (shouldWrapPersonaCoin === void 0) { shouldWrapPersonaCoin = false; }
return function (coinProps, defaultCoinRenderer) {
return shouldWrapPersonaCoin ? (React.createElement("span", { id: "persona-coin-container" }, defaultCoinRenderer(coinProps))) : (defaultCoinRenderer(coinProps));
};
};
//# sourceMappingURL=test-utils.js.map