Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support alt styles for Timelines #386

Merged
merged 3 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/editorial-source-components/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const Editor = styled.div<{
hasValidationErrors: boolean;
useAlternateStyles?: boolean;
}>`
flex-grow: 1;
${({ useAlternateStyles }) => (useAlternateStyles ? null : body.small())}
${({ useAlternateStyles }) =>
useAlternateStyles
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
export { TelemetryContext } from "./renderers/react/TelemetryContext";
export { useCustomFieldState } from "./renderers/react/useCustomFieldViewState";
export { createReactElementSpec } from "./renderers/react/createReactElementSpec";
export { AltStyleElementWrapper } from './renderers/react/AltStyleElementWrapper';

Check failure on line 37 in src/index.ts

View workflow job for this annotation

GitHub Actions / build

Replace `'./renderers/react/AltStyleElementWrapper'` with `"./renderers/react/AltStyleElementWrapper"`
export {
createReactAltStylesElementSpec,
RepeaterChild,
Expand Down
Loading