-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add graphin props setting to sdk config #587
base: master
Are you sure you want to change the base?
Conversation
Seventysevendays
commented
Apr 12, 2024
- add graphin props setting to sdk config
package.json
Outdated
@@ -78,5 +78,6 @@ | |||
"turbo": "^1.8.3", | |||
"webpack": "^5.88.0", | |||
"webpack-cli": "^5.0.0" | |||
} | |||
}, | |||
"version": "0.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个版本号不太需要
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
升级下 gi-sdk 的版本号就好了
@@ -20,7 +20,7 @@ let updateHistoryTimer: number; | |||
const GISDK = (props: Props) => { | |||
const graphinRef = React.useRef<null | Graphin>(null); | |||
// @ts-ignore | |||
const { children, assets, id, services, config, locales } = props; | |||
const { children, assets, id, services, config, locales, grapinProps } = props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉不用新增一个 grapinProps 吧,和 layout 这类配置放一起就好
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉不用新增一个 grapinProps 吧,和 layout 这类配置放一起就好
animate、style、containerStyle... 等等一堆配置,后边这样一个个加进来么?
239907f
to
edb9707
Compare