feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -16,7 +16,7 @@ import React, { forwardRef } from 'react'
|
||||
* @prop {string} size - 'sm' | 'md' | 'lg'
|
||||
*/
|
||||
const Select = forwardRef(function Select(
|
||||
{ label, error, hint, required, options, placeholder, size = 'md', id, className = '', children, ...rest },
|
||||
{ label, error, hint, required, options, placeholder, size = 'md', id, className = '', children, style, ...rest },
|
||||
ref,
|
||||
) {
|
||||
const inputId = id ?? (label ? label.toLowerCase().replace(/\s+/g, '-') : undefined)
|
||||
@@ -57,6 +57,13 @@ const Select = forwardRef(function Select(
|
||||
ref={ref}
|
||||
className={inputClass}
|
||||
aria-invalid={!!error}
|
||||
style={{
|
||||
appearance: 'none',
|
||||
WebkitAppearance: 'none',
|
||||
MozAppearance: 'none',
|
||||
backgroundImage: 'none',
|
||||
...style,
|
||||
}}
|
||||
{...rest}
|
||||
>
|
||||
{placeholder && <option value="" className="bg-nova-900">{placeholder}</option>}
|
||||
|
||||
Reference in New Issue
Block a user