Develop ultra fast with Prismane 🎉

NativeSelectField API

Learn about the NativeSelectField component's props and CSS classes.

Import

import { NativeSelectFieldProps } from "@prismane/core";

Props

NativeSelectField extends Field component's props.

NameTypeDescriptionDefault
options{ value: string; element: ReactNode }[]The options of the select field.-

CSS

NativeSelectField extends Field component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneNativeSelectField-rootThe container of the field component.
label.PrismaneNativeSelectField-labelThe label container of the field component.
error.PrismaneNativeSelectField-errorThe error container of the field component.