import styled from "styled-components"; import { InfoCircle } from "@styled-icons/boxicons-regular"; import { Children } from "../../types/Preact"; export const TipBase = styled.div` display: flex; padding: 12px; overflow: hidden; align-items: center; font-size: 14px; border-radius: 7px; background: var(--primary-header); border: 2px solid var(--secondary-header); a { cursor: pointer; &:hover { text-decoration: underline; } } svg { flex-shrink: 0; margin-inline-end: 10px; } `; export default function Tip(props: { children: Children }) { return ( {props.children} ); }