This commit is contained in:
21
src/components/Flex/index.d.ts
vendored
Normal file
21
src/components/Flex/index.d.ts
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
import * as React from 'react';
|
||||
import type {CSSProperties} from 'react'
|
||||
|
||||
export interface IFlexProps {
|
||||
direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
||||
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
||||
justify?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
||||
alignItems?: 'flex-start' | 'flex-end' | 'center' | 'stretch';
|
||||
|
||||
itemSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch';
|
||||
itemOrder?: number;
|
||||
itemGrow?: number;
|
||||
|
||||
style?: CSSProperties;
|
||||
className?: string;
|
||||
|
||||
onClick?: any,
|
||||
}
|
||||
|
||||
export default class Flex extends React.Component<IFlexProps, any> {
|
||||
}
|
||||
Reference in New Issue
Block a user