Skip to main content
Module

x/lunchbox/components/Select/setup.ts

Component Library 🍱 for Deno πŸ¦• Fresh πŸ‹
Latest
import * as lunchbox from "https://deno.land/x/lunchbox@v0.3.109/components/Select/setup.ts";

This module contains the prop type, default values, and styles for the <Select /> component.

Variables

Setup function of the <Select /> component.

Type Aliases

This type simplifies the usage of <option/> elements inside the component. There are three degrees of fineness of configuration:

  • string: Appends a <option value={string}>{string}</option> element.
  • value/name pair: Appends a <option value={value}>{name}</option> element.
  • <option/> element: Appends the element as it is.

Properties of the <Select /> component.