feat(webapp): import preview page

This commit is contained in:
Ahmed Bouhuolia
2024-03-22 00:05:10 +02:00
parent 1d8cec5069
commit a5ab535d3b
13 changed files with 619 additions and 48 deletions

View File

@@ -17,11 +17,20 @@
import classNames from 'classnames';
import * as React from 'react';
import { Classes } from '@blueprintjs/core';
import { Classes, Props } from '@blueprintjs/core';
import IconSvgPaths from '@/static/json/icons';
import PropTypes from 'prop-types';
export interface IconProps extends Props {
color?: string;
htmlTitle?: string;
icon: IconName | MaybeElement;
iconSize?: number;
style?: object;
tagName?: keyof JSX.IntrinsicElements;
title?: string;
}
export class Icon extends React.Component {
export class Icon extends React.Component<IconProps> {
static displayName = `af.Icon`;
static SIZE_STANDARD = 16;