import { View, ViewStyle, StyleProp } from "react-native"; import { DefaultTheme } from "styled-components"; import type { $RemoveChildren } from "../types"; declare type Props = $RemoveChildren & { /** * Whether divider has a left inset. */ inset?: boolean; style?: StyleProp; /** * @optional */ theme?: DefaultTheme; }; /** * A divider is a thin, lightweight separator that groups content in lists and page layouts. * *
*
* *
*
* * ## Usage * ```js * import * as React from 'react'; * import { View } from 'react-native'; * import Divider from 'react-native-simple-elements/components/Divider'; * import Text from "react-native-simple-elements/components/Text"; * * const MyComponent = () => ( * * Lemon * * Mango * * * ); * * export default MyComponent; * ``` */ declare const Divider: ({ inset, style, ...rest }: Props) => JSX.Element; export default Divider;