mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
plugin: Add dummy settings panel
This commit is contained in:
parent
76dea568c9
commit
c5ce15fe34
3 changed files with 81 additions and 5 deletions
|
|
@ -25,6 +25,7 @@ end
|
|||
|
||||
function ConnectPanel:render()
|
||||
local startSession = self.props.startSession
|
||||
local openSettings = self.props.openSettings
|
||||
|
||||
return Theme.with(function(theme)
|
||||
return e(Panel, nil, {
|
||||
|
|
@ -136,6 +137,17 @@ function ConnectPanel:render()
|
|||
PaddingRight = UDim.new(0, 24),
|
||||
},
|
||||
}, {
|
||||
e(FormButton, {
|
||||
layoutOrder = 1,
|
||||
text = "Settings",
|
||||
secondary = true,
|
||||
onClick = function()
|
||||
if openSettings ~= nil then
|
||||
openSettings()
|
||||
end
|
||||
end,
|
||||
}),
|
||||
|
||||
e(FormButton, {
|
||||
layoutOrder = 2,
|
||||
text = "Connect",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue