Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Nov 27, 2024
1 parent 9ab47ed commit d68e84f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ const defaultProps: Partial<DatePickerProps> = {

type DatePickerComponent = (<Type extends DatePickerType = 'default'>(
props: DatePickerProps<Type> & { ref?: React.ForwardedRef<HTMLDivElement> }
) => React.JSX.Element) & { displayName?: string } & MantineComponentStaticProperties<DatePickerFactory>;
) => React.JSX.Element) & {
displayName?: string;
} & MantineComponentStaticProperties<DatePickerFactory>;

export const DatePicker: DatePickerComponent = factory<DatePickerFactory>((_props, ref) => {
const props = useProps('DatePicker', defaultProps, _props);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ const defaultProps: Partial<MonthPickerProps> = {

type MonthPickerComponent = (<Type extends DatePickerType = 'default'>(
props: MonthPickerProps<Type> & { ref?: React.ForwardedRef<HTMLDivElement> }
) => React.JSX.Element) & { displayName?: string } & MantineComponentStaticProperties<MonthPickerFactory>;
) => React.JSX.Element) & {
displayName?: string;
} & MantineComponentStaticProperties<MonthPickerFactory>;

export const MonthPicker: MonthPickerComponent = factory<MonthPickerFactory>((_props, ref) => {
const props = useProps('MonthPicker', defaultProps, _props);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const defaultProps: Partial<YearPickerProps> = {

type YearPickerComponent = (<Type extends DatePickerType = 'default'>(
props: YearPickerProps<Type> & { ref?: React.ForwardedRef<HTMLDivElement> }
) => React.JSX.Element) & { displayName?: string } & MantineComponentStaticProperties<YearPickerFactory>;
) => React.JSX.Element) & {
displayName?: string;
} & MantineComponentStaticProperties<YearPickerFactory>;

export const YearPicker: YearPickerComponent = factory<YearPickerFactory>((_props, ref) => {
const props = useProps('YearPicker', defaultProps, _props);
Expand Down

0 comments on commit d68e84f

Please sign in to comment.