diff --git a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js index 69993b233..144f971a4 100644 --- a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js +++ b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js @@ -21,6 +21,8 @@ const TotalLayoutHeader = ({ compact = false, direction = 'column', cancelable = true, + mainActionLabel = 'Cancelar', + ...props }) => { const formContext = useFormContext(); const formValues = isFunction(formContext?.watch) ? formContext.watch() : {}; @@ -61,7 +63,7 @@ const TotalLayoutHeader = ({ {!!children && direction === 'row' && children} {cancelable && ( )}