mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-15 11:40:29 +03:00
Add support for managing sessions (#415)
* Allow node type prop in setting tile Signed-off-by: Ajay Bura <ajbura@gmail.com> * Update popup window max height Signed-off-by: Ajay Bura <ajbura@gmail.com> * Add device management setting Signed-off-by: Ajay Bura <ajbura@gmail.com> * Add password based login Signed-off-by: Ajay Bura <ajbura@gmail.com> * truncate long list of verified devices Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
fe997d8b01
commit
005434f79b
6 changed files with 251 additions and 7 deletions
|
|
@ -9,7 +9,11 @@ function SettingTile({ title, options, content }) {
|
|||
<div className="setting-tile">
|
||||
<div className="setting-tile__content">
|
||||
<div className="setting-tile__title">
|
||||
<Text variant="b1">{title}</Text>
|
||||
{
|
||||
typeof title === 'string'
|
||||
? <Text variant="b1">{title}</Text>
|
||||
: title
|
||||
}
|
||||
</div>
|
||||
{content}
|
||||
</div>
|
||||
|
|
@ -24,7 +28,7 @@ SettingTile.defaultProps = {
|
|||
};
|
||||
|
||||
SettingTile.propTypes = {
|
||||
title: PropTypes.string.isRequired,
|
||||
title: PropTypes.node.isRequired,
|
||||
options: PropTypes.node,
|
||||
content: PropTypes.node,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue