import { h } from 'preact'; // tslint:disable:max-line-length variable-name const Icon = (props: JSX.HTMLAttributes) => ( ); export const DownloadIcon = (props: JSX.HTMLAttributes) => ( ); export const ToggleBackgroundIcon = (props: JSX.HTMLAttributes) => ( ); export const ToggleBackgroundActiveIcon = (props: JSX.HTMLAttributes) => ( ); export const RotateIcon = (props: JSX.HTMLAttributes) => ( ); export const AddIcon = (props: JSX.HTMLAttributes) => ( ); export const RemoveIcon = (props: JSX.HTMLAttributes) => ( ); export const UncheckedIcon = (props: JSX.HTMLAttributes) => ( ); export const CheckedIcon = (props: JSX.HTMLAttributes) => ( ); export const ExpandIcon = (props: JSX.HTMLAttributes) => ( ); export const BackIcon = (props: JSX.HTMLAttributes) => ( ); const copyAcrossRotations = { up: 90, right: 180, down: -90, left: 0, }; export interface CopyAcrossIconProps extends JSX.HTMLAttributes { copyDirection: keyof typeof copyAcrossRotations; } export const CopyAcrossIcon = (props: CopyAcrossIconProps) => { const { copyDirection, ...otherProps } = props; const id = 'point-' + copyDirection; const rotation = copyAcrossRotations[copyDirection]; return ( ); };