-
Notifications
You must be signed in to change notification settings - Fork 865
Expand file tree
/
Copy pathtypes.ts
More file actions
26 lines (23 loc) · 764 Bytes
/
types.ts
File metadata and controls
26 lines (23 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
import type { Override } from '../helpers/overrides';
export type SkeletonOverrides = {
Row?: Override;
Root?: Override;
};
export type SkeletonProps = {
overrides?: SkeletonOverrides;
/** Defines the number of row element in a skeleton */
rows?: number;
/** Defines if the skeleton has an animation default is false*/
animation: boolean;
/** Defines the height of the skeleton container*/
height?: string;
/** Defines the width of the skeleton container*/
width?: string;
/** Determines whether rows expand in height to fill vertical space */
autoSizeRows?: boolean;
};