PluginProbe
Tableberg – Simple Gutenberg Table Block / 1.1.5
Tableberg – Simple Gutenberg Table Block v1.1.5
1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 All 42 releases
tableberg / admin / src / components / UpgradeBoxContent.jsx

UpgradeBoxContent.jsx in Tableberg – Simple Gutenberg Table Block 1.1.5, at admin/src/components/UpgradeBoxContent.jsx

40 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import React from "react";
2 import BoxContentProvider from "./BoxContent/BoxContentProvider";
3 import { BoxContentSize } from "./BoxContent/BoxContent";
4 import ButtonLink, { ButtonLinkType } from "./ButtonLink";
5 import ProFilter from "./ProFilter";
6 import AssetProvider from "./AssetProvider";
7
8 /**
9 * Box content for upgrade.
10 *
11 * @param {Object} props component properties, will be reflected to BoxContentProvider
12 * @class
13 */
14 function UpgradeBoxContent(props) {
15 return (
16 <AssetProvider assetIds={["proBuyUrl"]}>
17 {({ proBuyUrl }) => (
18 <ProFilter invert={true}>
19 <BoxContentProvider
20 size={BoxContentSize.JUMBO}
21 contentId={"upgrade"}
22 {...props}
23 >
24 <ButtonLink
25 url={proBuyUrl}
26 title={"GET TABLEBERG PRO"}
27 type={ButtonLinkType.PRIMARY}
28 />
29 </BoxContentProvider>
30 </ProFilter>
31 )}
32 </AssetProvider>
33 );
34 }
35
36 /**
37 * @module UpgradeBoxContent
38 */
39 export default UpgradeBoxContent;
40