revdev-components 0.70.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@ interface ContentHeaderActionProps {
|
|
|
12
12
|
export type HeaderActionProps = BaseHeaderActionProps | ContentHeaderActionProps;
|
|
13
13
|
export interface HeaderActionPanelProps {
|
|
14
14
|
className?: string;
|
|
15
|
-
actions
|
|
15
|
+
actions?: HeaderActionProps[];
|
|
16
16
|
}
|
|
17
17
|
export declare const HeaderActionPanel: React.FC<HeaderActionPanelProps>;
|
|
18
18
|
export {};
|
package/build/index.js
CHANGED
|
@@ -5205,7 +5205,7 @@ var s$3 = {"root":"index-module_root__OWeNb"};
|
|
|
5205
5205
|
|
|
5206
5206
|
var HeaderActionPanel = function (_a) {
|
|
5207
5207
|
var className = _a.className, actions = _a.actions;
|
|
5208
|
-
return actions.length ? (React.createElement("div", { className: classNames(s$3.root, className) }, actions.map(function (action, i) {
|
|
5208
|
+
return (actions === null || actions === void 0 ? void 0 : actions.length) ? (React.createElement("div", { className: classNames(s$3.root, className) }, actions.map(function (action, i) {
|
|
5209
5209
|
var content = action === null || action === void 0 ? void 0 : action.content;
|
|
5210
5210
|
if (content) {
|
|
5211
5211
|
return React.createElement(React.Fragment, { key: i }, content);
|