const myFunc = useCallback((type, value) => {
console.log(value)
if(type === 'step') setQuestionnaireSteps(prev => {
prev.contactUs = value;
return prev;
});
if(type === 'sms') (value) => setQuestionnaireSteps(prev => {
prev.phoneNumberVerification = value;
return prev;
})
}, [setQuestionnaireSteps]);
public isCallStarted: EventEmitter<any> = new EventEmitter<any>();
this.Logger.debug('P2pUserMedia', user_media_p2p.isCallStarted); // => undefined
user_media_p2p.connect() // is not a function
this работать не будет.
<picture>
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg" media="(min-width: 500px)" width="500px">
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg" media="(min-width: 200px)" width="200px">
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg" media="(min-width: 300px)" width="300px">
<img>
</picture>
<picture>
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg" media="(min-width: 500px)">
<img style="width: 500px; height: 100px;">
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg" media="(min-width: 200px)">
<img style="width: 200px; height: 100px;">
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg" media="(min-width: 300px)">
<img style="width: 300px; height: 100px;">
</picture>
<picture>
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg">
<img style="width: 30%; height: 100px;">
</picture>
<picture>
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg">
<img style="width: 50%; height: auto;">
</picture>
<picture>
<source srcset="https://i.pinimg.com/originals/95/30/41/953041070f000d45c05c912005f63724.jpg">
<img style="width: 80%; height: auto;">
</picture>