@bcgov-sso/common-react-components 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,7 @@ export declare const styles: {
16
16
  declare type Variant = 'danger' | 'success';
17
17
  interface Props {
18
18
  variant?: Variant;
19
+ content?: string;
19
20
  [key: string]: any;
20
21
  }
21
22
  declare const Alert: (props: Props) => JSX.Element;
package/dist/esm/index.js CHANGED
@@ -8684,6 +8684,7 @@ const Alert = (props) => (React.createElement(DefaultAlert, Object.assign({}, pr
8684
8684
  props.variant === 'success' && SuccessIcon,
8685
8685
  props.variant === 'danger' && DangerIcon,
8686
8686
  props.children,
8687
+ props.content,
8687
8688
  React.createElement(DefaultAlert.Close, null, "X")));
8688
8689
 
8689
8690
  export { Accordion, Alert, Button, NumberedContents };