daily-message
v1.5.0
Published
Messages based on time of day (Good Morning, Good Afternoon and Good Night)
Downloads
12
Readme
Daily Message
Messages based on time of day (Good Morning, Good Afternoon and Good Night)
Install
npm install daily-message --save
Technical details
- Code Written in ES6 and transpiled down to ES5.
Example:
import React from 'react';
import DailyMessage from 'daily-message';
const YourComponent = React.createClass({
render() {
return (
<DailyMessage customMessage="Your Custom Message Here (Don't add this if you don't need any message) " customClass="Custom Class Name (Optional)"/>
);
}
});
export default YourComponent;
Development
npm install
npm run build
npm run dev-server
Future Development
- Multi Language Support