You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/frontend/src/components/header/Group.tsx

16 lines
414 B

import { FunctionComponent } from "react";
type GroupPosition = "start" | "end";
interface GroupProps {
pos: GroupPosition;
}
const ContentHeaderGroup: FunctionComponent<GroupProps> = (props) => {
const { children, pos } = props;
const className = `d-flex flex-grow-1 align-items-center justify-content-${pos}`;
return <div className={className}>{children}</div>;
};
export default ContentHeaderGroup;