remove example

This commit is contained in:
Cory LaViska
2022-12-28 16:07:22 -05:00
parent fcbf339a86
commit 563ed81984

View File

@@ -188,8 +188,6 @@ Please do not make any changes to `prettier.config.cjs` without consulting the m
Components should be composable, meaning you can easily reuse them with and within other components. This reduces the overall size of the library, expedites feature development, and maintains a consistent user experience.
The `<sl-select>` component, for example, makes use of the dropdown, input, menu, and menu item components. Because it's offloading most of its functionality and styles to lower-level components, the select component remains lightweight and its appearance is consistent with other form controls and menus.
### Component Structure
All components have a host element, which is a reference to the `<sl-*>` element itself. Make sure to always set the host element's `display` property to the appropriate value depending on your needs, as the default is `inline` per the custom element spec.