Every line of 'bluebird props' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
34 props: function props(_ref2) { 35 var ownProps = _ref2.ownProps, 36 data = _ref2.data; 37 return _extends({}, ownProps, { 38 item: data.item, 39 data: data 40 }); 41 }
10 props: function props() {},
40 props: function props(_ref) { 41 var ownProps = _ref.ownProps, 42 data = _ref.data; 43 return _extends({}, ownProps, { 44 tags: (data.tags || []).map(function (x) { 45 return x.id; 46 }) 47 }); 48 }
5 constructor(props) { 6 super(props); 7 8 dotnetify.offline = true; 9 this.vm = dotnetify.react.connect(this.props.viewModel, this); 10 }
34 constructor(props) { 35 super(props) 36 let propData = addDefaultValues(props.propData) 37 38 /* over ride with defaults from documentation */ 39 const defaultsFromDocs = props.defaultsFromDocs 40 Object.keys(defaultsFromDocs).forEach(key => { 41 if (propData[key]) propData[key].value = defaultsFromDocs[key] 42 }) 43 44 this.state = { propData: propData } 45 this.props.onPropsChange(propData) 46 }
58 const BaseCtor = class _PropsBase { constructor(props: P) { Object.assign(this, props); } } as { new (props: P): P; };
15 get props () { 16 return this._props 17 }
83 __props__ () { 84 return {b: 'b'} 85 }
38 constructor(props) { 39 super(props); 40 this._skipObservedReconciliation = true; 41 this.observed = null; 42 }
80 props: function props(_ref6) { 81 var ownProps = _ref6.ownProps, 82 data = _ref6.data; 83 return _extends({}, ownProps, { 84 refetchKey: data.refetch, 85 cloudinaryRequest: data.cloudinaryRequest 86 }); 87 }