Newer
Older
alert / js / node_modules / flarum / common / components / Select.d.ts
@Réz István Réz István on 18 Nov 2021 487 bytes first commit
/**
 * The `Select` component displays a <select> input, surrounded with some extra
 * elements for styling. It accepts the following attrs:
 *
 * - `options` A map of option values to labels.
 * - `onchange` A callback to run when the selected value is changed.
 * - `value` The value of the selected option.
 * - `disabled` Disabled state for the input.
 */
export default class Select extends Component<import("../Component").ComponentAttrs> {
}
import Component from "../Component";