-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83ed807
commit 84b45bc
Showing
16 changed files
with
289 additions
and
137 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
export interface INotification { | ||
title: string; | ||
desciption: string; | ||
description: string; | ||
date: number; | ||
id: number; | ||
} | ||
|
||
export type ButtonType = "NESTED" | "WITH_OPTIONS"; | ||
export interface IButtonAction { | ||
type?: ButtonType; | ||
label: string; | ||
icon: string; | ||
id: string; | ||
selected: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import { IButtonAction } from "../interface"; | ||
|
||
export const buttonActions: Array<Omit<IButtonAction, "selected">> = [ | ||
{ | ||
type: "WITH_OPTIONS", | ||
label: "WiFi", | ||
icon: "wifi", | ||
id: "wifi", | ||
}, | ||
{ | ||
type: "WITH_OPTIONS", | ||
label: "Bluetooth", | ||
icon: "bluetooth", | ||
id: "bluetooth", | ||
}, | ||
{ | ||
type: "NESTED", | ||
label: "Not Connected", | ||
icon: "TVMonitor", | ||
id: "external-monitor", | ||
}, | ||
{ | ||
id: "theme", | ||
type: "NESTED", | ||
label: "Light Mode", | ||
icon: "Lightbulb", | ||
}, | ||
{ | ||
id: "tablet-mode", | ||
label: "Tablet mode", | ||
icon: "TabletMode", | ||
}, | ||
{ | ||
id: "dnd", | ||
label: "Do not distrub", | ||
icon: "Blocked2", | ||
}, | ||
{ | ||
id: "airplane", | ||
label: "Airplane", | ||
icon: "Airplane", | ||
}, | ||
{ | ||
id: "location", | ||
label: "Location", | ||
icon: "MapPin", | ||
}, | ||
{ | ||
id: "ease-of-access", | ||
label: "Ease of Access", | ||
icon: "EaseOfAccess", | ||
type: "NESTED", | ||
}, | ||
]; | ||
|
||
export const dummyNotification = [ | ||
{ | ||
title: "Budget Book", | ||
description: "Just got installed, check it out.", | ||
date: new Date().getTime(), | ||
id: 1, | ||
}, | ||
{ | ||
title: "Ping Pong", | ||
description: "Just got installed, check it out.", | ||
date: new Date().getTime() - 23134, | ||
id: 2, | ||
}, | ||
]; |
Oops, something went wrong.