Skip to content

Commit

Permalink
addressing feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nickamantia committed Sep 26, 2024
1 parent 4e131cf commit 864e1e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions playbook/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type DropdownProps = {
onSelect?: (arg: GenericObject) => null;
options: GenericObject;
triggerRef?: any;
variant?: string;
variant?: "primary" | "subtle";
};

const Dropdown = (props: DropdownProps) => {
Expand All @@ -57,7 +57,7 @@ const Dropdown = (props: DropdownProps) => {
onSelect,
options,
triggerRef,
variant
variant = "primary"
} = props;

const ariaProps = buildAriaProps(aria);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ const DropdownSubtleVariant = (props) => {


return (
<div>
<Dropdown
options={options}
variant="subtle"
{...props}
/>
</div>
<>
<Dropdown
options={options}
variant="subtle"
{...props}
/>
</>
)
}

Expand Down

0 comments on commit 864e1e1

Please sign in to comment.