Accompanying changes

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-07-30 10:06:28 +02:00
commit 2537088099
No known key found for this signature in database
GPG key ID: D1D45825D60C24D2
8 changed files with 28 additions and 30 deletions

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React from "react";
import React, { ReactNode } from "react";
import { Link } from "react-router-dom";
import classNames from "classnames";
@ -25,10 +25,10 @@ import {
ButtonSize,
} from "./Button";
interface Props {
className: string;
variant: ButtonVariant;
size: ButtonSize;
children: JSX.Element;
className?: string;
variant?: ButtonVariant;
size?: ButtonSize;
children: ReactNode;
[index: string]: unknown;
}