PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / AutoLaunch / components / Modal.jsx

Modal.jsx in Extendify trunk, at src/AutoLaunch/components/Modal.jsx

28 lines 601 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import classNames from 'classnames';
2
3 export const ModalHeading = ({ title }) => (
4 <h2 className="m-0 p-0 text-ui-heading font-ui-heading font-ui-strong tracking-ui-heading text-ui-ink">
5 {title}
6 </h2>
7 );
8
9 export const ModalText = ({ children, strong }) => (
10 <p
11 className={classNames(
12 'm-0 text-ui-body leading-ui text-ui-ink',
13 strong && 'font-medium',
14 )}
15 >
16 {children}
17 </p>
18 );
19
20 export const ModalLink = ({ label, href }) => (
21 <a
22 className="text-ui-body font-medium leading-ui underline [color:var(--ext-tpl-modal-link,var(--color-ui-action))]"
23 href={href}
24 >
25 {label}
26 </a>
27 );
28