/**
* @description Renders a custom heading component for font and localization usage
* Note- The style will take precedence over any custom style props to enable control to the consumer
*
* @param props {object} {children, color, fontStyle, ...rest} - some more description if required
* @returns {JSX.Element}
* @author Name Surname <[email protected]>
*/
const foo = () => {
// your code
};
<IMAGE_URL>
<Tile />
component will be used to display a date and day. User can select any date and we will load the listing of that specific date.
Prop | Description | Default | Type | Possible Values |
---|---|---|---|---|
date | A string which will provide day and date. If the date matches with today then the day name will be 'Today'. | today's date string in format of YYYMMDD Example - 20160708 | string | N/A |
isSelected | A prop to highlight the | false | bool | true | false |
isDisabled | A prop to make the tile clickable | false | bool | true | false |
data | A data that you want when click event happens | - | any | any |
onClick | A callback function which will provide the date, data and isDisabled back to caller function. | - | function | N/A |