Commit 01c6b968 authored by Sendya's avatar Sendya

fix: LayoutChange.jsx contentWidth prop type

parent bbdd1445
...@@ -21,7 +21,7 @@ export const renderLayoutSettingItem = (h, item) => { ...@@ -21,7 +21,7 @@ export const renderLayoutSettingItem = (h, item) => {
} }
export const LayoutSettingProps = { export const LayoutSettingProps = {
contentWidth: PropTypes.bool, contentWidth: PropTypes.oneOf(['Fluid', 'Fixed']).def('Fluid'),
fixedHeader: PropTypes.bool, fixedHeader: PropTypes.bool,
fixSiderbar: PropTypes.bool, fixSiderbar: PropTypes.bool,
layout: PropTypes.oneOf(['sidemenu', 'topmenu']), layout: PropTypes.oneOf(['sidemenu', 'topmenu']),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment