Skip to content

Commit

Permalink
chore: add missing component exports for CycleProgress and Countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
sjschlapbach committed Nov 1, 2023
1 parent ac0addf commit e97fed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Countdown.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import ReactCountdown from 'react-countdown'

interface CountdownProps {
export interface CountdownProps {
isStatic?: boolean
expiresAt: Date
formatter?: (value: any) => any
Expand All @@ -28,7 +28,7 @@ interface CountdownProps {
* @param className - Optional className object allows you to override the default styling
* @returns A simple text countdown component
*/
function Countdown({
export function Countdown({
isStatic,
expiresAt,
formatter,
Expand Down
4 changes: 2 additions & 2 deletions src/CycleProgress.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { twMerge } from 'tailwind-merge'

interface CycleProgressProps {
export interface CycleProgressProps {
size?: 'sm' | 'md'
percentage: number
color?: string
Expand Down Expand Up @@ -29,7 +29,7 @@ interface CycleProgressProps {
* @param className - Optional className object allows you to override the default styling
* @returns A circular progress bar with children content in the middle
*/
function CycleProgress({
export function CycleProgress({
size = 'md',
percentage,
color = '#00A321',
Expand Down

0 comments on commit e97fed7

Please sign in to comment.