ISSUE-035 - Took some work but have proper type checking for AngledFlag props and have updated everything necessary.
Styling is still to come. Only have Ferrari working. I've discovered that the team flags are wider than the country flags. So I'll be tackling that necessary change in the next commit before dealing with styling.
This commit is contained in:
1 parent
57647f6488
commit
bd1892ab17
9 files changed
+231
-53
No files matched your search
Vendored
+5
-1
@@ -32,10 +32,14 @@ export interface WorkspaceProperties {
|
||||
previewWindowDimensions: Dimensions;
|
||||
}
|
||||
export interface PrototypeState {
|
||||
angledFlag?: {
|
||||
angledFlagCountry?: {
|
||||
flagA: string;
|
||||
flagB: string;
|
||||
};
|
||||
angledFlagTeam?: {
|
||||
flagA: TeamId;
|
||||
flagB: TeamId;
|
||||
};
|
||||
}
|
||||
|
||||
// Overlay Tool
|
||||
|
||||
Vendored
+5
@@ -2,3 +2,8 @@
|
||||
* Type to remind you that we're dealing with pixels.
|
||||
*/
|
||||
export type Px = number;
|
||||
|
||||
/**
|
||||
* Type to remind you that we're dealing with percentages.
|
||||
*/
|
||||
export type Percent = number;
|
||||
Reference in new issue
Block a user