Prepare v0.1.0 release dependencies
This commit is contained in:
11
webui/src/components/PolicyLockedHint.tsx
Normal file
11
webui/src/components/PolicyLockedHint.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
export type PolicyLockedHintProps = {
|
||||
children: ReactNode;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export default function PolicyLockedHint({ children, className = "" }: PolicyLockedHintProps) {
|
||||
if (!children) return null;
|
||||
return <p className={`muted small-note policy-locked-hint ${className}`.trim()}>{children}</p>;
|
||||
}
|
||||
Reference in New Issue
Block a user