1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/+extensions/notice.tsx
2022-04-06 10:34:16 -04:00

22 lines
546 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import styles from "./notice.module.scss";
import type { DOMAttributes } from "react";
import React from "react";
import { cssNames } from "../../utils";
export interface NoticeProps extends DOMAttributes<any> {
className?: string;
}
export function Notice(props: NoticeProps) {
return (
<div className={cssNames(styles.notice, props.className)}>
{props.children}
</div>
);
}