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

Define default type for Divider #2398

Open
MichaelSchmidle opened this issue Oct 16, 2024 · 0 comments
Open

Define default type for Divider #2398

MichaelSchmidle opened this issue Oct 16, 2024 · 0 comments
Labels
enhancement New feature or request triage

Comments

@MichaelSchmidle
Copy link

For what version of Nuxt UI are you suggesting this?

v2.x

Description

The config of the divider component allows to define types:

type: {
  solid: 'border-solid',
  dotted: 'border-dotted',
  dashed: 'border-dashed',
},

However, the solid type is set by default and can only be changed per Divider component, not globally via config. It would be great to be able to set a custom default type like so:

default: {
  border: {
    type: 'dotted',
  },
},

Additional context

No response

@MichaelSchmidle MichaelSchmidle added enhancement New feature or request triage labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant