@wordpress/components
Version:
UI components for WordPress.
27 lines (24 loc) • 465 B
JavaScript
/**
* External dependencies
*/
import styled from '@emotion/styled';
/**
* `View` is a core component that renders everything in the library.
* It is the principle component in the entire library.
*
* @example
* ```jsx
* import { View } from `@wordpress/components/ui`;
*
* function Example() {
* return (
* <View>
* Code is Poetry
* </View>
* );
* }
* ```
*/
const View = styled.div``;
View.displayName = 'View';
export default View;