File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/components/d-resizable Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ const Folder = () => {
184184
185185 return < DLayout topContent = {
186186 < Flex style = { { gap : "0.35rem" } } align = { "center" } justify = { "space-between" } p = { 0.75 } >
187- < Button paddingSize = { "xxs" } variant = { "filled" } color = { "success" } >
187+ < Button paddingSize = { "xxs" } color = { "success" } >
188188 < Text > Create new flow</ Text >
189189 </ Button >
190190 < Flex style = { { gap : "0.35rem" } } >
@@ -231,7 +231,12 @@ const Folder = () => {
231231 </ Flex >
232232 } >
233233 < div style = { { padding : "0.75rem" } } >
234- < DFlowFolder ref = { ref } activeFlowId = { "gid://sagittarius/Flow/1" } />
234+ < DFlowFolder onDelete = { contextData => console . log ( contextData ) }
235+ onRename = { contextData => console . log ( contextData ) }
236+ onCreate = { type => console . log ( type ) }
237+ onSelect = { ( flow ) => console . log ( "select" , flow ) }
238+ ref = { ref }
239+ activeFlowId = { "gid://sagittarius/Flow/1" } />
235240 </ div >
236241 </ DLayout >
237242}
You can’t perform that action at this time.
0 commit comments