mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 23:45:48 +01:00
20 lines
321 B
TypeScript
20 lines
321 B
TypeScript
|
|
import { Text } from '@mantine/core';
|
||
|
|
|
||
|
|
interface TipProps {
|
||
|
|
children: React.ReactNode;
|
||
|
|
}
|
||
|
|
|
||
|
|
export default function Tip(props: TipProps) {
|
||
|
|
return (
|
||
|
|
<Text
|
||
|
|
style={{
|
||
|
|
fontSize: '0.75rem',
|
||
|
|
color: 'gray',
|
||
|
|
marginBottom: '0.5rem',
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
Tip: {props.children}
|
||
|
|
</Text>
|
||
|
|
);
|
||
|
|
}
|