Skip to content

Commit

Permalink
Update CountDown.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanBin committed Nov 21, 2023
1 parent 627fe32 commit 0a0887f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/CountDown/CountDown.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, {useEffect, useRef, useState} from 'react'
import {AppState, type StyleProp, type ViewStyle, type TextStyle} from 'react-native'
import styled from 'styled-components/native'

import {Text} from 'rn-base-component'
export const FormatTime = {
mmss: 'mm:ss',
hhmmss: 'HH:mm:ss',
Expand Down Expand Up @@ -179,6 +179,3 @@ export const CountDown: React.FunctionComponent<CountDownProps> = ({
const Container = styled.View({
flexDirection: 'row',
})
const Text = styled.Text(() => ({
textAlign: 'center',
}))

0 comments on commit 0a0887f

Please sign in to comment.