-
-
Save reime005/6a35290187f98aeb44334d77fb85c223 to your computer and use it in GitHub Desktop.
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
interface ISettingsData = { | |
title: string; | |
icon: JSX.Element; | |
data: SettingsType[]; | |
}; | |
type SettingsType = 'aboutMe' | 'spaceAPI' | 'help' | 'theme'; | |
const settingsData: ISettingsData[] = [ | |
{ | |
title: 'About', | |
icon: ( | |
<GiftIcon scale={0.8} /> | |
), | |
data: ['aboutMe', 'spaceAPI', 'theme'], | |
}, | |
{ | |
title: 'Feedback and Help', | |
icon: ( | |
<MailIcon scale={0.8} /> | |
), | |
data: ['help'], | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment