Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,14 +1,12 @@
import * as React from 'react';
import { StandardProps } from '..';
export interface LinearProgressProps extends StandardProps<
React.HTMLAttributes<HTMLDivElement>,
LinearProgressClassKey
> {
color?: 'primary' | 'accent';
mode?: 'determinate' | 'indeterminate' | 'buffer' | 'query';
export interface LinearProgressProps
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, LinearProgressClassKey> {
color?: 'primary' | 'secondary';
value?: number;
valueBuffer?: number;
variant?: 'determinate' | 'indeterminate' | 'buffer' | 'query';
}
export type LinearProgressClassKey =
@@ -16,9 +14,9 @@ export type LinearProgressClassKey =
| 'primaryColor'
| 'primaryColorBar'
| 'primaryDashed'
| 'accentColor'
| 'accentColorBar'
| 'accentDashed'
| 'secondaryColor'
| 'secondaryColorBar'
| 'secondaryDashed'
| 'bar'
| 'dashed'
| 'bufferBar2'
@@ -27,10 +25,7 @@ export type LinearProgressClassKey =
| 'indeterminateBar1'
| 'indeterminateBar2'
| 'determinateBar1'
| 'bufferBar1'
| 'bufferBar2Primary'
| 'bufferBar2Accent'
;
| 'bufferBar1';
declare const LinearProgress: React.ComponentType<LinearProgressProps>;