🌈 搜索
📅  最后修改于: 2022-03-11 15:00:56.350000             🧑  作者: Mango
const Component = ({ prop1, prop2 }) => ( ) Component.defaultProps = { prop1: false, prop2: 'My Prop', }