Skip to content

Commit

Permalink
fix: update font weight property
Browse files Browse the repository at this point in the history
fix: add missing borderColor utility function
  • Loading branch information
Jean Verster committed Oct 29, 2019
1 parent 3fb896d commit 78c14f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Toast/styles.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Animated } from 'react-native'
import styled from 'styled-components/native'
import {
borderColor,
BorderColorProps,
color,
ColorProps,
Expand All @@ -25,6 +26,7 @@ export const StyledToast = styled(Animated.View)<StyledToastProps>`
${top};
${color};
${space};
${borderColor};
width: 100%;
z-index: 1000;
min-height: 50px;
Expand Down Expand Up @@ -58,7 +60,7 @@ export const Heading = styled.Text<TextProps>`
${fontSize};
${textAlign};
flex-wrap: wrap;
font-weight: bold;
font-weight: normal;
`

Heading.defaultProps = {
Expand All @@ -72,7 +74,7 @@ export const SubText = styled.Text<TextProps>`
${fontSize};
${textAlign};
flex-wrap: wrap;
font-weight: lighter;
font-weight: normal;
`

SubText.defaultProps = {
Expand Down

0 comments on commit 78c14f3

Please # to comment.