-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeclarations.ts
More file actions
45 lines (38 loc) · 888 Bytes
/
Copy pathdeclarations.ts
File metadata and controls
45 lines (38 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import React from 'react';
import { SerializedStyles } from '@emotion/react';
import { CSSInterpolation, ArrayCSSInterpolation } from '@emotion/serialize';
export interface Wrapped {
children: React.ReactNode;
}
export interface StyledWrapped {
children: React.ReactNode;
cssStyles?: SerializedStyles | null;
}
export interface ProjectData {
title: string;
imageSlug: string;
description: string[];
tags: string[];
web?: string;
github?: string;
npm?: string;
}
export interface CSSObject {
[index: string]: string | number | CSSObject | (() => CSSObject);
}
export type FullCSSInterpolation = CSSInterpolation | ArrayCSSInterpolation;
export type SkillsData = {
[index in SkillType] : {
title: string,
skills: string[]
}
}
export type SkillType =
| 'frontend'
| 'backend'
| 'data'
| 'cloud'
| 'martech'
| 'growth'
| 'languages'
| 'collaboration';