diff --git a/apps/docs/src/pages/components/empty-state.mdx b/apps/docs/src/pages/components/empty-state.mdx new file mode 100644 index 0000000000..e4cc28807d --- /dev/null +++ b/apps/docs/src/pages/components/empty-state.mdx @@ -0,0 +1,60 @@ +import { + emptyStateClasses, + HvEmptyState, +} from "@hitachivantara/uikit-react-core"; +import { Info } from "@hitachivantara/uikit-react-icons"; + +import Playground from "@docs/components/code/Playground"; +import { Description } from "@docs/components/page/Description"; +import { Page } from "@docs/components/page/Page"; +import { getComponentData } from "@docs/utils/component"; + +export const getStaticProps = async ({ params }) => { + const meta = await getComponentData("EmptyState", "core", emptyStateClasses); + return { props: { ssg: { meta } } }; +}; + + + + + +, + }} +/> + +### Action links + +You can specify any content as the `message` or `action`. This can be a button, a link, or any other component that you want to use to guide the user to the next step. + +```tsx live +} + action={ +
+ Upload data + + Back to homepage + +
+ } +/> +``` + +