GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.nativebase.io — Divider | NativeBase | Universal Components for React and React Native Divider | NativeBase | Universal Components for React and React NativeDisclosure If you are starting a new project, please try gluestack-ui for better performance and new design. Divider Divider can visually separate content in a given list or group.
Import
Examples Basic The Divider displays a thin horizontal or vertical line.
Divider Orientation Pass the orientation prop and set it to either horizontal or vertical. Note: If the horizontal orientation is used, make sure that the parent element is assigned a width. If the vertical orientation is used, make sure that the parent element is assigned a height.
Composition You can use bg or backgroundColor to change the divider's color and width and height to change its width and height respectively.
Props Divider implements , , , , , , , , , orientation The orientation of the divider. Type: "horizontal" | "vertical" thickness The thickness of the divider. Type: SpaceType Styling NativeBase ships with a default theme for each component. Check out the default theme of the divider. Info: We can easily extend the divider component theme using extendTheme function as described in the documentation . Accessibility Divider has role set to separator and aria-orientation to either horizontal or vertical. MadeWithNativeBase gluestack-ui |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |