@prosperitainova/dumbo-react-native
Version:
Dumbo for React Native Library
19 lines • 775 B
TypeScript
import React from 'react';
import { StyleProp, ViewProps, ViewStyle } from 'react-native';
/** Props for Overlay component */
export type OverlayProps = {
/** Style to set on the item */
style?: StyleProp<ViewStyle>;
/** Direct props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this. */
componentProps?: ViewProps;
};
/**
* Overlay component for rendering overlay under floating items or menus
*
* {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/Overlay.tsx | Example code}
*/
export declare class Overlay extends React.Component<OverlayProps> {
private get styles();
render(): React.ReactNode;
}
//# sourceMappingURL=index.d.ts.map