Re-write types for modal actions.

This commit is contained in:
Paul
2021-07-06 11:34:36 +01:00
parent cf2b81c22d
commit 9390ffd00b
9 changed files with 31 additions and 38 deletions

View File

@@ -6,6 +6,8 @@ interface Props {
readonly error?: boolean;
}
export type ButtonProps = Props & Omit<JSX.HTMLAttributes<HTMLButtonElement>, 'as'>;
export default styled.button<Props>`
z-index: 1;
display: flex;