monday-ui-react-core
Version:
Official monday.com UI resources for application development in React.js
66 lines (45 loc) • 1.47 kB
text/mdx
import { DeprecatedWarning, Link } from "vibe-storybook-components";
import { Canvas, Meta } from "@storybook/blocks";
import * as LegacyEditableHeadingStories from "./LegacyEditableHeading.stories";
<Meta of={LegacyEditableHeadingStories} />
<DeprecatedWarning
alternativeName="EditableHeading"
alternativeLink="/?path=/docs/inputs-editableheading--docs"
additionalContent={
<>
For more information see the{" "}
<StorybookLink page="Typography Migration Guide" size={StorybookLink.sizes.SMALL}>
Typography Migration Guide
</StorybookLink>
.
</>
}
/>
- [Overview](
- [Props](
- [Usage](
- [Variants](
- [Feedback](
An extension of Heading component, it allows built in editing capabilities
<Canvas of={LegacyEditableHeadingStories.Overview} />
<PropsTable />
<UsageGuidelines
guidelines={[
"Use when the title (Heading) is editable and you want to inline edit it",
"Always provide a meaningful placeholder",
"The component takes 100% of width and height of its container"
]}
/>
<Canvas of={LegacyEditableHeadingStories.Types} />
<Canvas of={LegacyEditableHeadingStories.Placeholder} />
<Canvas of={LegacyEditableHeadingStories.TextHighlight} />
<Canvas of={LegacyEditableHeadingStories.Colors} />