1.2.4 • Published 5 months ago

edxfooter v1.2.4

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

edxfooter

npm i edxfooter --f

CODE

import { AppContext } from '@edx/frontend-platform/react';
import { ensureConfig } from '@edx/frontend-platform';
import Footer from 'edxfooter';
ensureConfig(
  [
    'LMS_BASE_URL',
    'LOGOUT_URL',
    'LOGIN_URL',
    'SITE_NAME',
    'LOGO_URL',
    'ORDER_HISTORY_URL',
  ],
  'Header component'
);

const FooterComponent = () => {
  const { config } = useContext(AppContext);
  return <Footer config={config} />;
};

export default FooterComponent;
1.2.4

5 months ago

1.2.3

5 months ago

1.2.2

5 months ago

1.1.2

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago