+
{children}
);
AccordionCollapse.defaultProps = {
+ variant: undefined,
UNSAFE_className: undefined,
};
diff --git a/src/Accordion/AccordionItem.scss b/src/Accordion/AccordionItem.scss
index dd04b1cd..fcc74d07 100644
--- a/src/Accordion/AccordionItem.scss
+++ b/src/Accordion/AccordionItem.scss
@@ -17,4 +17,9 @@
&--borderless {
border: none;
}
+
+ &--info {
+ background-color: var(--ux-blue-100);
+ color: var(--ux-blue-800);
+ }
}
diff --git a/src/Accordion/AccordionItem.tsx b/src/Accordion/AccordionItem.tsx
index 87def695..2c3270c8 100644
--- a/src/Accordion/AccordionItem.tsx
+++ b/src/Accordion/AccordionItem.tsx
@@ -18,9 +18,11 @@ type AccordionItemProps = {
UNSAFE_className?: string;
children: React.ReactNode;
eventKey: string;
+ variant?: string;
};
const AccordionItem = ({
+ variant,
as,
borderless,
children,
@@ -33,6 +35,7 @@ const AccordionItem = ({
className={classNames(
UNSAFE_className,
'AccordionItem',
+ variant === 'info' && 'AccordionItem--info',
borderless && 'AccordionItem--borderless',
)}
eventKey={eventKey}
@@ -42,6 +45,7 @@ const AccordionItem = ({
);
AccordionItem.defaultProps = {
+ variant: undefined,
as: undefined,
borderless: undefined,
UNSAFE_className: undefined,
diff --git a/src/Select/Option.jsx b/src/Select/Option.jsx
index 2568dc85..bbc7d0d1 100644
--- a/src/Select/Option.jsx
+++ b/src/Select/Option.jsx
@@ -17,14 +17,16 @@ import './Option.scss';
const Option = forwardRef(({ indeterminate, ...props }, ref) => (
-
null}
- />
+
+ null}
+ />
+