* ✨Add basic modal for HLS staking * ✨UI components for Manage * ✨All Manage actions (except change lev) * 🐛hls intro icons + checkbox, hide repay when no debt, clickable dropdown * fix build
19 lines
388 B
TypeScript
19 lines
388 B
TypeScript
import React from 'react'
|
|
|
|
import Text from 'components/Text'
|
|
|
|
interface Props {
|
|
children: React.ReactNode
|
|
title: string
|
|
}
|
|
export default function Container(props: Props) {
|
|
return (
|
|
<div>
|
|
<Text size='xs' className='text-white/60 mb-2 uppercase'>
|
|
{props.title}
|
|
</Text>
|
|
<div className='p-3 rounded-sm bg-black/20'>{props.children}</div>
|
|
</div>
|
|
)
|
|
}
|