mirror of
https://github.com/docmost/docmost.git
synced 2026-05-17 23:14:07 +08:00
ef87210b3d
* feat: new image menu * switch to resizable side handles * use pixels * refactor excalidraw and drawio menu * support image resize undo * video resize * callout menu refresh * refresh table menus * fix color scheme * fix: patch @tiptap/core ResizableNodeView to prevent resize sticking after mouseup * feat: columns * notes callout * focus on first column * capture tab key in column * fix print * hide columns menu when some nodes are focused * fix print * fix columns * selective placeholder * fix blockquote * quote * fix callout in columns
28 lines
642 B
TypeScript
28 lines
642 B
TypeScript
import { rem } from "@mantine/core";
|
|
|
|
type Props = {
|
|
size?: number | string;
|
|
stroke?: number;
|
|
};
|
|
|
|
export function IconColumns4({ size = 24, stroke = 2 }: Props) {
|
|
return (
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width={rem(size)}
|
|
height={rem(size)}
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeWidth={stroke}
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
>
|
|
<path d="M3 4a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v16a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-16" />
|
|
<path d="M7.5 3v18" />
|
|
<path d="M12 3v18" />
|
|
<path d="M16.5 3v18" />
|
|
</svg>
|
|
);
|
|
}
|