mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 12:30:06 +02:00
Update server management
This commit is contained in:
@@ -18,9 +18,12 @@ const Section = styled.div`
|
||||
export const ServerSection = ({ title, children }: ServerSectionProps) => {
|
||||
return (
|
||||
<Container>
|
||||
<Text font={Font.EPILOGUE} size="sm">
|
||||
{title}
|
||||
</Text>
|
||||
{React.isValidElement(title) ? (
|
||||
title
|
||||
) : (
|
||||
<Text font={Font.EPILOGUE}>{title}</Text>
|
||||
)}
|
||||
|
||||
<Section>{children}</Section>
|
||||
</Container>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user