File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
examples/styleguide/src/components Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable react/prop-types */
12import * as React from 'react' ;
23import Badge from './Badge' ;
34
Original file line number Diff line number Diff line change 22import * as React from 'react' ;
33import { View , Text } from 'react-sketchapp' ;
44
5- const Badge = ( { children, filled } ) => (
5+ const Badge = ( { children, filled = false } ) => (
66 < View
77 style = { {
88 borderRadius : 4 ,
Original file line number Diff line number Diff line change 33import hashStyle from '../../utils/hashStyle' ;
44import { TextStyle } from '../../types' ;
55import { 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
You can’t perform that action at this time.
0 commit comments