A collection of commands that change the Arc Browser icon on macOS.
| Theme | Command |
|---|---|
| Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
| export const chaosTestStrings = (): void => { | |
| const textNodes = getAllTextNodes(document.body); | |
| for (const node of textNodes) { | |
| const textNodeLength = node.textContent ? node.textContent.length : 0; | |
| if (node.textContent === null) { | |
| return; | |
| } | |
| if (node.parentElement instanceof Element) { | |
| if (node.parentElement.dataset.originalText === undefined) { |
| import { useLocation, useTransition } from "@remix-run/react"; | |
| import * as React from "react"; | |
| /** | |
| * An enhanced `<details>` component that's intended to be used as a menu (a bit | |
| * like a menu-button). | |
| */ | |
| export let DetailsMenu = React.forwardRef< | |
| HTMLDetailsElement, | |
| React.ComponentPropsWithRef<"details"> |
| import React from 'react'; | |
| // Source: https://github.com/emotion-js/emotion/blob/master/packages/styled-base/types/helper.d.ts | |
| type PropsOf< | |
| // eslint-disable-next-line @typescript-eslint/no-explicit-any | |
| E extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any> | |
| > = JSX.LibraryManagedAttributes<E, React.ComponentPropsWithRef<E>>; | |
| export interface BoxOwnProps<E extends React.ElementType = React.ElementType> { | |
| as?: E; |