Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the documentations and the default value of a string prop are not shown #136

Open
Kiarokh opened this issue Jan 19, 2024 · 0 comments
Open

Comments

@Kiarokh
Copy link
Collaborator

Kiarokh commented Jan 19, 2024

example:

export class Breadcrumbs {


    /**
     * The visual divider that separates items.
     * It must be a single character such as `-` or `,`.
     */
    @Prop()
    public divider: string = '›';

generates:

image

or:

export class Header {
    /**
     * Icon to display
     */
    @Prop()
    public icon: string | Icon;

    /**
     * Title to display
     */
    @Prop()
    public heading: string;

    /**
     * Subheading to display
     */
    @Prop()
    public subheading: string;

    /**
     * An extra string of text to display along with with the Subheading
     */
    @Prop()
    public supportingText: string;

    /**
     * The visual divider that separates the `subheading` and the `supportingText`.
     * It must be a single character such as `-` or `,`.
     */
    @Prop()
    public subheadingDivider: string = '·';

generates
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant