style: 添加注释, 解构其他组件属性添加默认值
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
export default function SystemMessage({ children }) {
|
||||
/**
|
||||
* 一条系统提示消息
|
||||
* @returns { React.JSX.Element }
|
||||
*/
|
||||
export default function SystemMessage({ children } = {}) {
|
||||
return (
|
||||
<div style={{
|
||||
width: '100%',
|
||||
|
||||
Reference in New Issue
Block a user