diff --git a/app/components/component-docs/dataDisplay/CoreImage.docs.js b/app/components/component-docs/dataDisplay/CoreImage.docs.js index 5466984..8979967 100644 --- a/app/components/component-docs/dataDisplay/CoreImage.docs.js +++ b/app/components/component-docs/dataDisplay/CoreImage.docs.js @@ -1,57 +1,83 @@ -import { CoreClasses, CoreH4, CoreImage } from "@wrappid/core"; +import { CoreImage } from "@wrappid/core"; -import CodeImport from "../../CodeImport"; import CodeSample from "../../CodeSample"; -import ComponentProps from "../../ComponentProps"; +import ComponentDocs from "../ComponentDocs"; + +const CORE_COMPONENT = CoreImage; +const CORE_COMPONENT_NAME = (CORE_COMPONENT?.displayName || CORE_COMPONENT?.name); export default function CoreImageDocs() { return ( - <> - - CoreImage - - - - - + `} - renderElement={<> - - } + expandedCode={`import { ${CORE_COMPONENT_NAME} } from "@wrappid/core"; + +export default function Sample${CORE_COMPONENT_NAME}() { + return ( + <> + + + ); +}`} + renderElement={<> + + } + /> - `} - renderElement={<> - - } - /> - - + expandedCode={`import { ${CORE_COMPONENT_NAME} } from "@wrappid/core"; +export default function AltText${CORE_COMPONENT_NAME}() { + return ( + <> + ); +}`} + renderElement={<> + + } + /> + + } + /> + ); }