UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

15 lines (13 loc) 318 B
function getAlign(border: string) { switch (border) { case 'left': return 'text-start justify-items-start'; case 'center': return 'justify-items-center'; case 'right': return 'text-end justify-items-end'; default: return 'text-center inline-flex'; } } export { getAlign };