voice-message
v1.0.1
Published
A component for sending and receiving voice messages in web applications.
Downloads
14
Readme
Voice Message
A component for sending and receiving voice messages in web applications.
Installation
To install this component, use npm:
npm install voice-message
npm install -D tailwindcss
npx tailwindcss inita
Usage/Examples
// tailwind.config.js
module.exports = {
content: [
"./node_modules/voice-message/build/VoiceMessage.js",
],
theme: {
extend: {},
},
plugins: [],
};
// index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
// app.js
import VoiceMessage from "voice-message/build/VoiceMessage";
function App() {
return (
<VoiceMessage
data={"path/audio"}
status={"inbound" || "outbound" }
/>
);
}
export default App;
📷 Demo
💰 Donate
If you find this project helpful, you can support its development by donating Bitcoin:
bc1qc640he5efwezsp864c5nt70uwhttd65sgamdr3