mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-22 08:50:56 +02:00
20 lines
372 B
TypeScript
20 lines
372 B
TypeScript
import "./FixedSideContainer.css";
|
|
|
|
import React from "react";
|
|
|
|
type FixedSideContainerProps = {
|
|
children: React.ReactNode;
|
|
side: "top" | "left" | "right";
|
|
};
|
|
|
|
export function FixedSideContainer({
|
|
children,
|
|
side,
|
|
}: FixedSideContainerProps) {
|
|
return (
|
|
<div className={"FixedSideContainer FixedSideContainer_side_" + side}>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|