mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Export more UI components via extensions-api (#1285)
* export more UI components via extensions-api, touches #1277 #1284 Signed-off-by: Roman <ixrock@gmail.com> * fix build, added table + notification-store exports Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
85f0ef8c2e
commit
f69f8c793f
31 files changed
+138
-120
No files matched your search
@@ -3,7 +3,7 @@ import React from "react";
|
||||
import { cssNames } from "../../utils";
|
||||
import { TooltipDecoratorProps, withTooltip } from "../tooltip";
|
||||
|
||||
interface Props extends React.HTMLProps<any>, TooltipDecoratorProps {
|
||||
export interface LineProgressProps extends React.HTMLProps<any>, TooltipDecoratorProps {
|
||||
value: number;
|
||||
min?: number;
|
||||
max?: number;
|
||||
@@ -12,8 +12,8 @@ interface Props extends React.HTMLProps<any>, TooltipDecoratorProps {
|
||||
}
|
||||
|
||||
@withTooltip
|
||||
export class LineProgress extends React.PureComponent<Props> {
|
||||
static defaultProps: Props = {
|
||||
export class LineProgress extends React.PureComponent<LineProgressProps> {
|
||||
static defaultProps: LineProgressProps = {
|
||||
value: 0,
|
||||
min: 0,
|
||||
max: 100,
|
||||
|
||||
Reference in new issue
Block a user