@devopness/ui-react 2.176.0 → 2.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/Forms/Illustration/Illustration.d.ts +21 -0
- package/dist/src/components/Forms/Illustration/Illustration.styled.d.ts +2 -0
- package/dist/src/components/Forms/Illustration/index.d.ts +1 -0
- package/dist/src/components/Forms/index.d.ts +1 -0
- package/dist/ui-react.cjs +55 -47
- package/dist/ui-react.js +431 -422
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Illustration Component
|
|
4
|
+
*
|
|
5
|
+
* A simple flex container to center content horizontally and vertically,
|
|
6
|
+
* with a fixed height and bottom border.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Illustration>
|
|
11
|
+
* <img src="logo.png" alt="Logo" />
|
|
12
|
+
* </Illustration>
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
type IllustrationProps = {
|
|
16
|
+
/** React children to render inside */
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
declare const Illustration: ({ children }: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { Illustration };
|
|
21
|
+
export type { IllustrationProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Illustration';
|