@@ -96,6 +96,7 @@ let TmpDrawerComp = (function () {
9696closePosition :withDefault ( LeftRightControl , "left" ) ,
9797maskClosable :withDefault ( BoolControl , true ) ,
9898showMask :withDefault ( BoolControl , true ) ,
99+ toggleClose :withDefault ( BoolControl , true )
99100} ,
100101( props , dispatch ) => {
101102const isTopBom = [ "top" , "bottom" ] . includes ( props . placement ) ;
@@ -155,6 +156,7 @@ let TmpDrawerComp = (function () {
155156className = { props . className as string }
156157data-testid = { props . dataTestId as string }
157158>
159+ { props . toggleClose && (
158160< ButtonStyle
159161$closePosition = { props . closePosition }
160162onClick = { ( ) => {
@@ -163,6 +165,7 @@ let TmpDrawerComp = (function () {
163165>
164166< CloseOutlined />
165167</ ButtonStyle >
168+ ) }
166169< InnerGrid
167170{ ...otherContainerProps }
168171items = { gridItemCompToGridItems ( items ) }
@@ -206,6 +209,9 @@ let TmpDrawerComp = (function () {
206209{ children . showMask . propertyView ( {
207210label :trans ( "prop.showMask" ) ,
208211} ) }
212+ { children . toggleClose . propertyView ( {
213+ label :trans ( "prop.toggleClose" ) ,
214+ } ) }
209215</ Section >
210216< Section name = { sectionNames . interaction } > { children . onEvent . getPropertyView ( ) } </ Section >
211217< Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section >