MCPcopy
hub / github.com/zmxv/react-native-sound / secondsToMMSS

Function secondsToMMSS

example/SoundPlayer.tsx:19–20  ·  view source on GitHub ↗
(seconds: number)

Source from the content-addressed store, hash-verified

17// Removed getImageStyle as we're using emoji icons instead
18Sound.setCategory('Playback');
19const secondsToMMSS = (seconds: number) =>
20 new Date(seconds * 1000).toISOString().substring(14, 19);
21
22export default () => {
23 const [currentTime, setCurrentTime] = React.useState(0);

Callers 1

SoundPlayer.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…