2021-05-22 10:51:06 +01:00
|
|
|
import { JSX } from "preact";
|
|
|
|
|
|
|
|
export type MarginProps = {
|
2021-05-22 11:12:55 +01:00
|
|
|
children?: JSX.Element | JSX.Element[];
|
2021-05-22 10:51:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export function Margin(props: MarginProps): JSX.Element {
|
2021-05-22 11:12:55 +01:00
|
|
|
return <div class="uk-margin">{props.children}</div>;
|
2021-05-22 10:51:06 +01:00
|
|
|
}
|