Skip to content

Commit

Permalink
fix: Typings for ProgressBar (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored Apr 21, 2021
1 parent d0040fa commit 6ea5648
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/fuselage/fuselage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type FontScale = 'h1' | 's1' | 's2' | 'p1' | 'p2' | 'c1' | 'c2' | 'micro';

declare module '@rocket.chat/fuselage' {
import type { css } from '@rocket.chat/css-in-js';
import { Placements } from '@rocket.chat/fuselage-hooks';
import type { Placements } from '@rocket.chat/fuselage-hooks';
import {
AllHTMLAttributes,
Context,
Expand Down Expand Up @@ -389,6 +389,12 @@ declare module '@rocket.chat/fuselage' {
};
export const PasswordInput: ForwardRefExoticComponent<PasswordInputProps>;

type ProgressBarProps = BoxProps & {
percentage?: number;
error?: string;
};
export const ProgressBar: ForwardRefExoticComponent<ProgressBarProps>;

type SearchInputProps = BoxProps & {
addon?: ReactNode;
error?: string;
Expand Down

0 comments on commit 6ea5648

Please sign in to comment.