uswds-sf-lightning-community
uswds-sf-lightning-community copied to clipboard
Create repo-specific code snippets for uswds-sf-l-c
Is your feature request related to a problem? Please describe.
When building new components that utilize USWDS components, VSCode provides some intellisense suggestions but does not output all attributes. Giving users some basic component implementations would help developers work faster.
Related to #161
Describe the solution you'd like
{
"USWDS Tag": {
"scope": "html",
"prefix": ["<c:uswdsTag"],
"body": ["<c:uswdsTag title=\"default\" color=\"default\" size=\"\" />"],
"description": "USWDS Tag element."
}
}
Describe alternatives you've considered
Updating the aura:attribute values to include descriptions would also be valuable.
src/aura/uswdsTag/uswdsTag.cmp
<aura:attribute
name="color"
type="String"
default="default"
description="A named color value corresponding to grade 50 colors in the USWDS Vivid palette https://designsystem.digital.gov/design-tokens/color/system-tokens/"
/>
Additional context