Skip to content

Commit af8e665

Browse files
committed
Fix lint/type errors
1 parent c7771d6 commit af8e665

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

examples/styleguide/src/components/AccessibilityBadge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable react/prop-types */
12
import * as React from 'react';
23
import Badge from './Badge';
34

examples/styleguide/src/components/Badge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import * as React from 'react';
33
import { View, Text } from 'react-sketchapp';
44

5-
const Badge = ({ children, filled }) => (
5+
const Badge = ({ children, filled = false }) => (
66
<View
77
style={{
88
borderRadius: 4,

src/jsonUtils/sketchImpl/findFontName.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import hashStyle from '../../utils/hashStyle';
44
import { TextStyle } from '../../types';
55
import { FONT_STYLES } from '../textLayers';
6-
import { APPLE_BROKEN_SYSTEM_FONT } from '../../utils/constants';
76

87
// this borrows heavily from react-native's RCTFont class
98
// thanks y'all

0 commit comments

Comments
 (0)