Skip to content

Commit

Permalink
Make preview custom preview options optional (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
heggemsnes authored Jul 25, 2023
1 parent a119891 commit a82203d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/public/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { IconObject, IconPickerOptions } from '../../types';
import type { ReactElement } from 'react';

type Preview = Pick<IconObject, 'provider' | 'name'> & {
options: IconPickerOptions;
options?: IconPickerOptions;
};
// eslint-disable-next-line react/display-name
export const preview = ({
Expand Down

0 comments on commit a82203d

Please sign in to comment.