List components #31
@ -264,9 +264,27 @@ export default function ComponentLibrary() {
|
||||
<section className="mt-lg">
|
||||
<h2 className="mb-md">Combobox - Sizes</h2>
|
||||
<div className="flex flex-wrap items-start gap-md">
|
||||
<Combobox options={peopleOptions} placeholder="Small" size="sm" />
|
||||
<Combobox options={peopleOptions} placeholder="Medium" size="md" />
|
||||
<Combobox options={peopleOptions} placeholder="Large" size="lg" />
|
||||
<Combobox
|
||||
options={peopleOptions}
|
||||
placeholder="Small"
|
||||
size="sm"
|
||||
label="Small"
|
||||
hideLabel
|
||||
/>
|
||||
<Combobox
|
||||
options={peopleOptions}
|
||||
placeholder="Medium"
|
||||
size="md"
|
||||
label="Medium"
|
||||
hideLabel
|
||||
/>
|
||||
<Combobox
|
||||
options={peopleOptions}
|
||||
placeholder="Large"
|
||||
size="lg"
|
||||
label="Large"
|
||||
hideLabel
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -277,6 +295,8 @@ export default function ComponentLibrary() {
|
||||
options={peopleOptions}
|
||||
placeholder="Sök..."
|
||||
customWidth="350px"
|
||||
label="Custom width"
|
||||
hideLabel
|
||||
/>
|
||||
<Combobox
|
||||
options={peopleOptions}
|
||||
@ -316,6 +336,8 @@ export default function ComponentLibrary() {
|
||||
onChange={setParticipants}
|
||||
placeholder="Small"
|
||||
size="sm"
|
||||
label="Small"
|
||||
hideLabel
|
||||
/>
|
||||
<ParticipantPicker
|
||||
options={peopleOptions}
|
||||
@ -323,6 +345,8 @@ export default function ComponentLibrary() {
|
||||
onChange={setParticipants}
|
||||
placeholder="Medium"
|
||||
size="md"
|
||||
label="Medium"
|
||||
hideLabel
|
||||
/>
|
||||
<ParticipantPicker
|
||||
options={peopleOptions}
|
||||
@ -330,6 +354,8 @@ export default function ComponentLibrary() {
|
||||
onChange={setParticipants}
|
||||
placeholder="Large"
|
||||
size="lg"
|
||||
label="Large"
|
||||
hideLabel
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
@ -343,6 +369,8 @@ export default function ComponentLibrary() {
|
||||
onChange={setParticipants}
|
||||
placeholder="Sök..."
|
||||
customWidth="350px"
|
||||
label="Custom width"
|
||||
hideLabel
|
||||
/>
|
||||
<ParticipantPicker
|
||||
options={peopleOptions}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user