Skip to content

Commit

Permalink
UI: add extraClass to the Info component
Browse files Browse the repository at this point in the history
  • Loading branch information
sofa-tata committed Jul 11, 2023
1 parent a5a4756 commit 02e74ca
Show file tree
Hide file tree
Showing 9 changed files with 1,402 additions and 1,397 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/cjs/types/components/Info/Info.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ReactElement } from 'react';
import './info.scss';
interface InfoProps {
data: ReactElement | string;
extraClass?: string;
}
declare function Info({ data }: InfoProps): JSX.Element;
declare function Info({ data, extraClass }: InfoProps): JSX.Element;
export default Info;
2 changes: 1 addition & 1 deletion dist/esm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/esm/types/components/Info/Info.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ReactElement } from 'react';
import './info.scss';
interface InfoProps {
data: ReactElement | string;
extraClass?: string;
}
declare function Info({ data }: InfoProps): JSX.Element;
declare function Info({ data, extraClass }: InfoProps): JSX.Element;
export default Info;
3 changes: 2 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ declare function ErrorPage({ error }: ErrorPageProps): JSX.Element;

interface InfoProps {
data: ReactElement | string;
extraClass?: string;
}
declare function Info({ data }: InfoProps): JSX.Element;
declare function Info({ data, extraClass }: InfoProps): JSX.Element;

declare function Checkbox(props: InputHTMLAttributes<HTMLInputElement>): JSX.Element;

Expand Down
Loading

0 comments on commit 02e74ca

Please sign in to comment.