Skip to content

Commit

Permalink
fix: typescript error message in fields (props) (#3365)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgm authored Sep 20, 2023
1 parent 59d7754 commit 58e9324
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/components/src/FieldBase/FieldBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ export interface FieldBaseProps extends WidthProp {
size?: string;
disabled?: boolean;
label?: ReactNode;
labelProps?: LabelHTMLAttributes<HTMLLabelElement> & Pick<LabelProps, 'as'>;
labelProps?: Omit<LabelHTMLAttributes<HTMLLabelElement>, 'children'> &
Pick<LabelProps, 'as'>;
description?: ReactNode;
descriptionProps?: HTMLAttributes<HTMLElement>;
descriptionProps?: Omit<HTMLAttributes<HTMLElement>, 'children'>;
error?: boolean;
errorMessage?: ReactNode;
errorMessageProps?: HTMLAttributes<HTMLElement>;
errorMessageProps?: Omit<HTMLAttributes<HTMLElement>, 'children'>;
stateProps?: StateAttrProps;
}

Expand Down

1 comment on commit 58e9324

@vercel
Copy link

@vercel vercel bot commented on 58e9324 Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-storybook – ./

marigold-storybook-git-main-marigold.vercel.app
marigold-latest.vercel.app
marigold-storybook-marigold.vercel.app

Please sign in to comment.