-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove lib from ignore to use on in npm
- Loading branch information
1 parent
645c325
commit 0c88c2d
Showing
5 changed files
with
223 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
lib/ | ||
node_modules/ | ||
package-lock.json | ||
.yarn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import * as React from 'react'; | ||
import { StyleProp, ViewStyle } from 'react-native'; | ||
declare type SkeletonPlaceholderProps = { | ||
/** | ||
* Determines component's children. | ||
*/ | ||
children: JSX.Element; | ||
/** | ||
* Determines the color of placeholder. | ||
*/ | ||
backgroundColor?: string; | ||
/** | ||
* Determines the highlight color of placeholder. | ||
*/ | ||
highlightColor?: string; | ||
/** | ||
* Determines the animation speed in milliseconds. Use 0 to disable animation | ||
*/ | ||
speed?: number; | ||
/** | ||
* Determines the animation direction, left or right | ||
*/ | ||
direction?: 'left' | 'right'; | ||
/** | ||
* Determines if Skeleton should show placeholders or its children. | ||
*/ | ||
enabled?: boolean; | ||
/** | ||
* Determines default border radius for placeholders from both SkeletonPlaceholder.Item and generated from children. | ||
*/ | ||
borderRadius?: number; | ||
angle?: number; | ||
/** | ||
* Determines width of the highlighted area | ||
*/ | ||
shimmerWidth?: number; | ||
}; | ||
declare type SkeletonPlaceholderItemProps = ViewStyle & { | ||
style?: StyleProp<ViewStyle>; | ||
children?: React.ReactNode; | ||
}; | ||
declare const SkeletonPlaceholder: React.FC<SkeletonPlaceholderProps> & { | ||
Item: React.FC<SkeletonPlaceholderItemProps>; | ||
}; | ||
export default SkeletonPlaceholder; | ||
//# sourceMappingURL=skeleton-placeholder.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.