mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 20:15:52 +01:00
27 lines
484 B
TypeScript
27 lines
484 B
TypeScript
import React, { FC, ReactNode } from "react";
|
|
import styled from "styled-components";
|
|
|
|
type Props = {
|
|
title: ReactNode;
|
|
};
|
|
|
|
const Title = styled.div`
|
|
font-weight: bold;
|
|
margin-bottom: 0.5rem;
|
|
`;
|
|
|
|
const Menu = styled.ul`
|
|
padding-left: 1.1rem;
|
|
`;
|
|
|
|
const FooterSection: FC<Props> = ({ title, children }) => {
|
|
return (
|
|
<section className="column is-one-third">
|
|
<Title>{title}</Title>
|
|
<Menu>{children}</Menu>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default FooterSection;
|