Twake
⬅️ Go on twake
Search…
☀️ Twake
Getting started
▶
Use Twake on twake.app
🏗
Install on your server
⚙
Configuration
How to use it
👋
Welcome to Twake !
🧰
Console
🏢
Company & workspace
💠
Applications
🖥
Desktop and mobile app
🔒
Privacy
Developers API
🏠
Home
🥇
Getting started
⚙
Application settings
📖
API Reference
🧱
Blocks
Internal Documentation
🥇
Get started
🎨
Twake Ecosystem Guidelines
📚
Our stack
🧱
Backend and APIs
🖥
Web, desktop and mobile
Table
ObjectModal
ObjectModalTitle
ObjectModalSeparator
ObjectModalSectionTitle
ObjectModalFormTitle
UserListManager
MediumPopupManager
MenuManager
🎭
Translation
Powered By
GitBook
ObjectModal
A beautiful, centered, medium modal with all you need to structure its content.
Usage
1
import
ObjectModal
from
'components/ObjectModal/ObjectModal.js'
;
Copied!
1
<
ObjectModal
2
title
=
{
3
<
ObjectModalTitle
>
4
My awesome title
!
5
</
ObjectModalTitle
>
6
}
7
onClose
=
{()
=>
myComponent
.
closeSomething
()}
8
disabled
9
footer
=
{
10
<
Button
>
11
Definitly not usefull
12
</
Button
>
13
}
14
>
15
<
FirstChild
/>
16
<
span
>
Some text
</
span
>
17
</
ObjectModal
>
Copied!
Props
name
Description
Type
Default
disabled
Disable scrollbar X axis (need to rename for a better clarity)
Boolean
false
footer
Define a footer component
ReactNode
null
onClose
Add close icon in the component, waiting for a function
Function
null
title
Define a title component
ReactNode
null
Preview
Modal example with task editor
Previous
Table
Next
ObjectModalTitle
Last modified
1yr ago
Copy link
Contents