types#Config TypeScript Examples

The following examples show how to use types#Config. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: config.tsx    From v2 with MIT License 6 votes vote down vote up
config: Config = {
  name: {
    display: 'Adam Alston',
    aria: 'My name is Adam Alston',
  },
  title: {
    display: 'Software Engineer',
    aria: 'I am a software engineer',
  },
  buttons: [
    {
      display: 'GitHub',
      aria: 'Visit my GitHub profile',
      icon: <GitHub />,
      href: 'https://github.com/adamalston/',
    },
    {
      display: 'LinkedIn',
      aria: 'Visit my LinkedIn profile',
      icon: <LinkedIn />,
      href: 'https://www.linkedin.com/in/adam-alston/',
    },
    {
      display: 'Resume',
      aria: 'View my resume in Google Drive',
      icon: <Resume />,
      href: 'https://drive.google.com/drive/folders/10k8NWflSYQ5laPzuWtK3bzUKzuOeas8i/',
    },
    {
      display: 'Email',
      aria: 'Send me an email',
      icon: <Email />,
      href: 'mailto:[email protected]',
    },
  ],
}
Example #2
Source File: AppContext.tsx    From v2 with MIT License 5 votes vote down vote up
initialState: AppContextInterface = {
  config: {} as Config,
  isMobile: false,
  theme: themes.dark,
  setTheme: () => {},
}