PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.3.52
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.3.52
1.4.21 1.4.20 1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 All 184 releases
disco / backend / views / components / Main / components / Card.jsx

Card.jsx in Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO 1.3.52, at backend/views/components/Main/components/Card.jsx

23 lines 599 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const Card = ({ heading, children, headingButton }) => {
2 return (
3 <div className="disco-border disco-rounded-t-md disco-border-gray-200 disco-my-8 disco-bg-white disco-pt-2">
4 <div
5 className={`disco-px-4 disco-pb-2 ${
6 children && 'disco-border-b disco-border-gray-200'
7 } `}
8 >
9 <div className="disco-flex disco-justify-between disco-items-center">
10 <div>
11 <h2 className="disco-text-lg disco-font-medium">
12 {heading}
13 </h2>
14 </div>
15 {headingButton && headingButton}
16 </div>
17 </div>
18 <div>{children}</div>
19 </div>
20 );
21 };
22 export default Card;
23