Skip to content

Collapse Component wrong size prop for Button Component #16

Open
@MrWeb

Description

@MrWeb

In this page https://designrevision.com/docs/shards-vue/components/collapse there is a demo for the Collapse component showing a button with size="small". This returns an error: Invalid prop: custom validator check failed for prop "size"

In the Button Component the only allowed sizes are sm and lg as showing in button/Button.vue component line 56-60:

size: { type: String, validator: v => ['sm', 'lg', null].includes(v), default: null },

I propose we change size="sm" in https://designrevision.com/docs/shards-vue/components/collapse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions