fannypack-v5
Version:
An accessible, composable, and friendly React UI Kit
31 lines (24 loc) • 684 B
text/typescript
import { cssClass } from '../styled';
import { fontWeight, theme } from '../utils';
export const Pagination = (styleProps) => cssClass`
display: flex;
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const PaginationButton = (styleProps) => cssClass`
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const PaginationSelect = (styleProps) => cssClass`
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const PaginationPrepositionText = (styleProps) => cssClass`
font-weight: ${fontWeight('semibold')(styleProps)};
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;