Current Path: > home > transcarter > public_html > wp-content > plugins > leadin > scripts > > shared > UIComponents >
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
UIAlert.tsx | File | 1430 bytes | July 17 2025 21:06:25. | |
UIButton.ts | File | 547 bytes | July 17 2025 21:06:25. | |
UIContainer.ts | File | 221 bytes | July 17 2025 21:06:25. | |
UIOverlay.ts | File | 206 bytes | July 17 2025 21:06:25. | |
UISpacer.ts | File | 88 bytes | July 17 2025 21:06:25. | |
UISpinner.tsx | File | 1629 bytes | July 17 2025 21:06:25. | |
colors.ts | File | 332 bytes | July 17 2025 21:06:25. |
import React from 'react'; import { styled } from '@linaria/react'; import { MARIGOLD_LIGHT, MARIGOLD_MEDIUM, OBSIDIAN } from './colors'; const AlertContainer = styled.div` background-color: ${MARIGOLD_LIGHT}; border-color: ${MARIGOLD_MEDIUM}; color: ${OBSIDIAN}; font-size: 14px; align-items: center; justify-content: space-between; display: flex; border-style: solid; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-width: 1px; min-height: 60px; padding: 8px 20px; position: relative; text-align: left; `; const Title = styled.p` font-family: 'Lexend Deca'; font-style: normal; font-weight: 700; font-size: 16px; line-height: 19px; color: ${OBSIDIAN}; margin: 0; padding: 0; `; const Message = styled.p` font-family: 'Lexend Deca'; font-style: normal; font-weight: 400; font-size: 14px; margin: 0; padding: 0; `; const MessageContainer = styled.div` display: flex; flex-direction: column; `; interface IUIAlertProps { titleText: string; titleMessage: string; } export default function UIAlert({ titleText, titleMessage, children, }: React.PropsWithChildren<IUIAlertProps>) { return ( <AlertContainer> <MessageContainer> <Title>{titleText}</Title> <Message>{titleMessage}</Message> </MessageContainer> {children} </AlertContainer> ); }
SILENT KILLER Tool