Lines Matching refs:props
227 function sortStyle(props) { argument
232 for (const key of Object.keys(props)) {
233 const value = props[key];
291 function transformProps(props) { argument
294 for (const key of Object.keys(props)) {
295 const propValue = props[key];
299 propContent += `'${key}' : ${formatForFunc(props[key])},`;
301 propContent += `'${key}' : ${JSON.stringify(props[key])},`;
304 propContent += `'${key}' : ${checkType(props[key])},`;
316 function transformEvents(props) { argument
318 for (const key of Object.keys(props)) {
319 if (isFunction(props[key])) {
324 eventContent += `'${key}' : ${formatForFunc(props[key])},`;
330 eventContent += `'${key}' : ${formatForString(props[key])},`;