## SectionNotification
Section notification displays an important, succinct message, and provides actions for users to address and can not be dismissed.

It appears at the relevant app section and push the content below it.

Section notifications can contain Icon / Text / Buttons

### How to use

[Api docs](https://wix-wix-ui-tpa.surge.sh/?path=//story/components--sectionnotification)

## Theme properties (All are optional)

| propName         | propType | defaultValue                     | description                            |
|------------------|----------|----------------------------------|----------------------------------------|
| BackgroundColor  | string   | color-5                          | The background color of notification   |
| TextColor        | string   | color-5                          | The text color of notification         |

In order to override the theme, use Wix Stylable `extends` capabilities and wrap with stylable HOC:

1. create an stylable file (e.g. SectionNotificationExt.st.css)
    ``` css
    :import {
      -st-from: "../SectionNotification.st.css";
      -st-default: TPASectionNotification;
    }

    .root {
      -st-mixin: TPASectionNotification(
        BackgroundColor '"color(--backgroundColor)"'
        TextColor '"color(--textColor)"'
      );
    }
    ```

2. Create a component that uses it
    ``` javascript
    import * as React from 'react';
    import { classes } from './SectionNotificationExt.st.css';
    import { Error } from '@wix/wix-ui-icons-common/on-stage';
    import { SectionNotification, SectionNotificationButtonType, ButtonPriority, SectionNotificationType } from 'wix-ui-tpa/SectionNotification';

    export class IconButtonExtendedExample extends React.Component {
      render = () => (
        <SectionNotification
          type={SectionNotificationType.default}
          className={classes.root}
        >
          <SectionNotification.Icon icon={<Error />} />
          <SectionNotification.Text>Notification text</SectionNotification.Text>
          <SectionNotification.Button
            type={SectionNotificationButtonType.text}
            priority={ButtonPriority.basicSecondary}
          >
            Decline
          </SectionNotification.Button>
          <SectionNotification.Button
            type={SectionNotificationButtonType.text}
            priority={ButtonPriority.basic}
          >
            Approve
          </SectionNotification.Button>
        </SectionNotification>
      );
    }
    ```
